Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
authorAlexis La Goutte <alexis.lagoutte@gmail.com>
Sun, 17 Mar 2013 19:24:09 +0000 (19:24 -0000)
committerAlexis La Goutte <alexis.lagoutte@gmail.com>
Sun, 17 Mar 2013 19:24:09 +0000 (19:24 -0000)
svn path=/trunk/; revision=48374

asn1/spnego/packet-spnego-template.c
epan/dissectors/packet-spnego.c

index 365774dd2cd2ecfa09684eb4de937e8c7b2354ad..da381540d173541145e96edab29d5f40d9076186 100644 (file)
@@ -1325,7 +1325,7 @@ dissect_spnego(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
         * as well. Naughty, naughty.
         *
         */
-       offset = dissect_spnego_NegotiationToken(FALSE, tvb, offset, &asn1_ctx, subtree, -1);
+       dissect_spnego_NegotiationToken(FALSE, tvb, offset, &asn1_ctx, subtree, -1);
 
 }
 
index daa2ce881a0be3a599353be2e7173e0c3b6ae1d4..f712cd20d06c43e0e2af7f18ab991dee0613705d 100644 (file)
@@ -1806,7 +1806,7 @@ dissect_spnego(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
         * as well. Naughty, naughty.
         *
         */
-       offset = dissect_spnego_NegotiationToken(FALSE, tvb, offset, &asn1_ctx, subtree, -1);
+       dissect_spnego_NegotiationToken(FALSE, tvb, offset, &asn1_ctx, subtree, -1);
 
 }