summaryrefslogtreecommitdiff
path: root/lib/workqueue.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2023-06-02 10:10:45 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2023-06-16 10:55:17 +0200
commit961b8981976c797e23c307b9a82a83115d8bd61c (patch)
tree0747e6fa3106919264c389c776edebf2385fe591 /lib/workqueue.c
parent7817cdeadc3ba539b24fc39d7ec31f10c9edce8d (diff)
bgpd: fix static analysis issue in subgroup_announce_check()
Remove the check about pi->peer value different from null. Introducing this check introduces a SA warning on the value of the from value (derived from pi->peer). Actually, peer is set when bgp_path_info_make() call is performed; peer is never null. Fixes: 23bb4a9b5c64 ("bgpd: advertise mpls vpn routes with appropriate label") Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/workqueue.c')
0 files changed, 0 insertions, 0 deletions