aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-q931.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-06-06 14:44:45 +0200
committerEvan Huus <eapache@gmail.com>2014-06-06 14:04:27 +0000
commite27a24cc66ce14027e45744e6570d78c2c45c20c (patch)
tree667ec06f06d901cbbaf7301e162af985c14027b1 /epan/dissectors/packet-q931.c
parent52fe0aa349f7b8a676782e524bf4a04cde44195a (diff)
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: I2e7e32f618f709739948b2b5ebd1db0e775bfaed Reviewed-on: https://code.wireshark.org/review/1995 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-q931.c')
-rw-r--r--epan/dissectors/packet-q931.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-q931.c b/epan/dissectors/packet-q931.c
index 09fba7e87f..1bf4bb1cd2 100644
--- a/epan/dissectors/packet-q931.c
+++ b/epan/dissectors/packet-q931.c
@@ -891,7 +891,6 @@ dissect_q931_bearer_capability_ie(tvbuff_t *tvb, int offset, int len,
if (!(octet & Q931_IE_VL_EXTENSION)) {
if (len == 0)
return;
- octet = tvb_get_guint8(tvb, offset);
proto_tree_add_item(tree, hf_q931_out_band_negotiation, tvb, offset, 1, ENC_NA);
offset += 1;
len -= 1;