diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-01-15 19:23:25 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-01-15 19:23:25 -0800 |
commit | 77d26b5f883f856674ecd86d13df496320d451f5 (patch) | |
tree | 541e3b8dcb6e0c4939d057ca0e343792a03eecc8 /print-rsvp.c | |
parent | 1eb819f07174f38eafd573b7d60ff30fdfc64f55 (diff) | |
download | tcpdump-77d26b5f883f856674ecd86d13df496320d451f5.tar.gz |
Get rid of dead code.
The loop runs until total_subobj_len is 0, so it'll always be zero if we
exit the loop normally, and the test of whether it's non-zero will
always fail.
Fixes Coverity CID 1427591.
Diffstat (limited to 'print-rsvp.c')
-rw-r--r-- | print-rsvp.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/print-rsvp.c b/print-rsvp.c index 8d89abf4..12b51f27 100644 --- a/print-rsvp.c +++ b/print-rsvp.c @@ -1329,11 +1329,6 @@ rsvp_obj_print(netdissect_options *ndo, obj_tptr+=subobj_len; obj_tlen+=subobj_len; } - - if (total_subobj_len) { - /* unless we have a TLV parser lets just hexdump */ - hexdump=TRUE; - } break; default: |