From 0367aaaa9b688a194d25d7fa17dfb9cd5b22dab6 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Sun, 17 Mar 2013 19:24:25 +0000 Subject: Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang svn path=/trunk/; revision=48376 --- epan/dissectors/packet-smpp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-smpp.c') diff --git a/epan/dissectors/packet-smpp.c b/epan/dissectors/packet-smpp.c index 922299920e..2cb5d1be9f 100644 --- a/epan/dissectors/packet-smpp.c +++ b/epan/dissectors/packet-smpp.c @@ -2717,7 +2717,7 @@ dissect_smpp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) } /* if (command_id & 0x80000000) */ } /* if (command_length <= tvb_reported_length(pdu_tvb)) */ - offset += command_length; + /*offset += command_length;*/ } /* if (tree || (command_id == 4)) */ /* Queue packet for Tap */ -- cgit v1.2.3