diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2018-01-01 19:54:57 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-01-01 20:38:40 +0000 |
commit | 3d58a16038731bfe3f234756830ab300cf5c4dea (patch) | |
tree | d85ce102aef9ef24d8cb26955d66edf9f7b24367 /epan | |
parent | 296f1f35d87935869f8b646c86430f39a1904ba2 (diff) |
TDS: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I3345246de63781decc1046834f82f60f02ad54c0
Reviewed-on: https://code.wireshark.org/review/25101
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-tds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tds.c b/epan/dissectors/packet-tds.c index 13da61259c..207be66023 100644 --- a/epan/dissectors/packet-tds.c +++ b/epan/dissectors/packet-tds.c @@ -2420,7 +2420,7 @@ dissect_tds45_login(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, tds_con tvb_reported_length_remaining(tvb, offset), ENC_NA); token_tree = proto_item_add_subtree(token_item, ett_tds_type_varbyte); - offset += dissect_tds5_capability_token(tvb, pinfo, offset + 1, token_tree, tds_info); + /*offset += */dissect_tds5_capability_token(tvb, pinfo, offset + 1, token_tree, tds_info); } } |