summaryrefslogtreecommitdiff
path: root/asn1/sabp
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2012-01-13 16:26:45 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2012-01-13 16:26:45 +0000
commitf5f6ac7cdb86b36f0031491b304f98680bd340f4 (patch)
tree5464710795f6f2066532e41c2457d35810dea4c2 /asn1/sabp
parent2747e6bc45a629d0f5e0729e7215bef65a6bc2a1 (diff)
downloadwireshark-f5f6ac7cdb86b36f0031491b304f98680bd340f4.tar.gz
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40464
Diffstat (limited to 'asn1/sabp')
-rw-r--r--asn1/sabp/packet-sabp-template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/sabp/packet-sabp-template.c b/asn1/sabp/packet-sabp-template.c
index 20d07d6277..7c735114fa 100644
--- a/asn1/sabp/packet-sabp-template.c
+++ b/asn1/sabp/packet-sabp-template.c
@@ -123,7 +123,7 @@ get_sabp_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset)
bit_offset = offset<<3;
/* Get the length of the sabp packet. offset in bits */
- offset = dissect_per_length_determinant(tvb, bit_offset, &asn1_ctx, NULL, -1, &type_length);
+ dissect_per_length_determinant(tvb, bit_offset, &asn1_ctx, NULL, -1, &type_length);
/*
* Return the length of the PDU