summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-12-23 20:12:26 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-12-23 20:12:26 +0000
commit368df16f6a5a68b7245b2c59aabdfdd4f729ada4 (patch)
treeacb93af4e353d4dfaef7c341097f20f2558b0c1d
parent8b468ca3ff4e9aff0ae06420c78531967f11a152 (diff)
downloadwireshark-368df16f6a5a68b7245b2c59aabdfdd4f729ada4.tar.gz
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
svn path=/trunk/; revision=54411
-rw-r--r--epan/dissectors/packet-btle.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-btle.c b/epan/dissectors/packet-btle.c
index 41089bb784..57f5f34c15 100644
--- a/epan/dissectors/packet-btle.c
+++ b/epan/dissectors/packet-btle.c
@@ -220,7 +220,6 @@ dissect_btle(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_
proto_tree_add_item(advertising_header_tree, hf_advertising_header_rfu_2, tvb, offset, 1, ENC_LITTLE_ENDIAN);
proto_tree_add_item(advertising_header_tree, hf_advertising_header_length, tvb, offset, 1, ENC_LITTLE_ENDIAN);
- length = tvb_get_guint8(tvb, offset) & 0x3f;
offset += 1;
switch (pdu_type) {