diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-08-11 09:16:18 +0200 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2014-08-11 14:43:32 +0000 |
commit | 4c131ced560998ae32916295959568e2a39e04aa (patch) | |
tree | 8d0fa59da9e0182359f8150d7aada99179dbb767 /asn1/snmp/packet-snmp-template.c | |
parent | db7143d9066f505d136669b0aff5cfb0030e7ac2 (diff) |
SNMP: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: I00d66ff57fd3ea1ede692c85b2ae0286c30557b7
Reviewed-on: https://code.wireshark.org/review/3550
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'asn1/snmp/packet-snmp-template.c')
-rw-r--r-- | asn1/snmp/packet-snmp-template.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/asn1/snmp/packet-snmp-template.c b/asn1/snmp/packet-snmp-template.c index b6ab3b8d6a..566ad665c1 100644 --- a/asn1/snmp/packet-snmp-template.c +++ b/asn1/snmp/packet-snmp-template.c @@ -1013,10 +1013,8 @@ indexing_done: expert_add_info(actx->pinfo, pi_value, &ei_snmp_missing_mib); } -already_added: - oid_info_is_ok = FALSE; } - +already_added: pt_value = proto_item_add_subtree(pi_value,ett_value); if (value_len > 0 && oid_string) { |