aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/inap
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2012-01-13 16:19:24 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2012-01-13 16:19:24 +0000
commit346bdd6c8778344902aa8d915208aafa803e60d4 (patch)
tree7978a8f569e89f46dbb48ac04ad3c9c009bfda61 /asn1/inap
parent16dbe7bf4dead9f0966b5961c9945562f855cdab (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40459
Diffstat (limited to 'asn1/inap')
-rw-r--r--asn1/inap/packet-inap-template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/inap/packet-inap-template.c b/asn1/inap/packet-inap-template.c
index f786949a6f..6bc98ed92d 100644
--- a/asn1/inap/packet-inap-template.c
+++ b/asn1/inap/packet-inap-template.c
@@ -142,7 +142,7 @@ dissect_inap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
/* Get the length and add 2 */
inap_pdu_size = tvb_get_guint8(tvb, offset+1)+2;
opcode = 0;
- offset = dissect_inap_ROS(TRUE, tvb, offset, &asn1_ctx, tree, -1);
+ dissect_inap_ROS(TRUE, tvb, offset, &asn1_ctx, tree, -1);
}