summaryrefslogtreecommitdiff
path: root/lib/elf_py.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-03-05 10:37:48 -0500
committerDonald Sharp <sharpd@nvidia.com>2024-03-05 10:37:48 -0500
commita9c16a0a8993198cddd3613d6f80d45c49cecdf7 (patch)
tree10a7c27f19d017757d4a96af1b6489ae56377a9d /lib/elf_py.c
parentcf4d838e69b19fd5066da85e0c44b7c569af4e66 (diff)
bgpd: pi->attr is deref'ed in all paths leading up to test
In make_prefix, the code checks to see if the pi->attr is non-NULL. Since (A) we cannot have a path_info without an attribute and (B) all paths leading up to the test in make_prefix already have pi->attr deref'ed and the code is not crashing we know this is safe to remove. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/elf_py.c')
0 files changed, 0 insertions, 0 deletions