diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-08-11 09:05:18 +0200 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2014-08-11 14:42:20 +0000 |
commit | db7143d9066f505d136669b0aff5cfb0030e7ac2 (patch) | |
tree | 7bc01cf8941b9256df1240a986329b48dd5211dc /asn1/snmp | |
parent | aaeedcb108aba98059269c439688774f951b3f26 (diff) |
SNMP: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: Ifd4fef4ff7cc5a3197a802e0da5851370ddcd715
Reviewed-on: https://code.wireshark.org/review/3549
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'asn1/snmp')
-rw-r--r-- | asn1/snmp/packet-snmp-template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/snmp/packet-snmp-template.c b/asn1/snmp/packet-snmp-template.c index 838e1fac70..b6ab3b8d6a 100644 --- a/asn1/snmp/packet-snmp-template.c +++ b/asn1/snmp/packet-snmp-template.c @@ -1972,7 +1972,7 @@ dissect_snmp_pdu(tvbuff_t *tvb, int offset, packet_info *pinfo, message_length = len + offset; /*Get the SNMP version data*/ - offset = dissect_ber_integer(FALSE, &asn1_ctx, 0, tvb, offset, -1, &version); + /*offset =*/ dissect_ber_integer(FALSE, &asn1_ctx, 0, tvb, offset, -1, &version); /* |