diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-04-06 19:53:55 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-04-06 20:10:52 -0400 |
| commit | ea8b2282869d6c4a1626be98e0a6c883e48ab314 (patch) | |
| tree | f0de7cce29d6c908f4789bf41241ba5ebb634b48 /lib/json.c | |
| parent | 3393df5cf1c0ea2e4aaa3e405253cae90070d53c (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/json.c')
0 files changed, 0 insertions, 0 deletions
