diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2011-04-21 16:00:38 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2011-04-21 16:00:38 +0000 |
commit | ec7709406eaae71c6b6247c0f98a28ee6cde5784 (patch) | |
tree | 9811af3511969c6ee99f60bf171eaaa2b236a0ce /epan/dissectors/packet-snmp.c | |
parent | 2500f66e48923a85770b978bd43257857ca3f073 (diff) | |
download | wireshark-ec7709406eaae71c6b6247c0f98a28ee6cde5784.tar.gz wireshark-ec7709406eaae71c6b6247c0f98a28ee6cde5784.tar.bz2 wireshark-ec7709406eaae71c6b6247c0f98a28ee6cde5784.zip |
Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=36771
Diffstat (limited to 'epan/dissectors/packet-snmp.c')
-rw-r--r-- | epan/dissectors/packet-snmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-snmp.c b/epan/dissectors/packet-snmp.c index f45908d8c3..5228412794 100644 --- a/epan/dissectors/packet-snmp.c +++ b/epan/dissectors/packet-snmp.c @@ -2935,7 +2935,7 @@ dissect_snmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) } } /* then comes an INTEGER (version)*/ - offset = get_ber_identifier(tvb, offset, &tmp_class, &tmp_pc, &tmp_tag); + get_ber_identifier(tvb, offset, &tmp_class, &tmp_pc, &tmp_tag); if((tmp_class!=BER_CLASS_UNI)||(tmp_tag!=BER_UNI_TAG_INTEGER)) { return 0; } |