summaryrefslogtreecommitdiff
path: root/lib/lib_errors.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-04-06 19:53:55 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-04-06 20:10:52 -0400
commitea8b2282869d6c4a1626be98e0a6c883e48ab314 (patch)
treef0de7cce29d6c908f4789bf41241ba5ebb634b48 /lib/lib_errors.c
parent3393df5cf1c0ea2e4aaa3e405253cae90070d53c (diff)
bgpd: pi->peer assignment exists no need for null check
The creation of a new `struct bgp_path_info` requires a legitimate peer being passed in for creation. There exists no code paths where this is not true. As such checking pi->peer for null convinces SA that it might happen. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/lib_errors.c')
0 files changed, 0 insertions, 0 deletions