diff options
| author | Ilya Shipitsin <chipitsine@gmail.com> | 2018-04-05 20:09:56 +0000 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-04-11 07:35:20 -0400 |
| commit | 47e5a60f296d6d8f1fd656c98bf48525a7a7dfc1 (patch) | |
| tree | c93ef1f79091c0a708309c50cffbb57b0e4118b9 /lib/libfrr.c | |
| parent | 0742ce0a861193f19fe890b8b8d50924a692cb3b (diff) | |
ripd: rip_snmp.c - Remove not needed check
rn cannot be null here
issue detected by cppcheck:
[ripd/rip_snmp.c:208] -> [ripd/rip_snmp.c:207]: (warning) Either the condition
'if(rn&&!strncmp(i->name,ifp->name,INTERFACE_NAMSIZ))' is redundant or there is
possible null pointer dereference: rn.
Signed-off-by: Ilya Shipitsin <chipitsine@gmail.com>
Diffstat (limited to 'lib/libfrr.c')
0 files changed, 0 insertions, 0 deletions
