diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-12-23 20:12:26 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-12-23 20:12:26 +0000 |
commit | 368df16f6a5a68b7245b2c59aabdfdd4f729ada4 (patch) | |
tree | acb93af4e353d4dfaef7c341097f20f2558b0c1d | |
parent | 8b468ca3ff4e9aff0ae06420c78531967f11a152 (diff) | |
download | wireshark-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.c | 1 |
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) { |