diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2018-02-24 18:19:03 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-02-25 08:03:24 +0000 |
commit | ba4ff84e94f5e1edcc520a06d0dbafbede59b437 (patch) | |
tree | 6accbfc4de4143071ed29beee4a0199481f4fcfe | |
parent | b4368e14b0f082313de17e29f7cd62a251c0c9a9 (diff) |
TDS: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: Iac95d4d588670b75fbb9e99095e5c0a562460000
Reviewed-on: https://code.wireshark.org/review/26085
Reviewed-by: Craig Jackson <cejackson51@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r-- | epan/dissectors/packet-tds.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tds.c b/epan/dissectors/packet-tds.c index 333f3af1e3..7f428b42aa 100644 --- a/epan/dissectors/packet-tds.c +++ b/epan/dissectors/packet-tds.c @@ -3415,7 +3415,6 @@ dissect_tds_col_name_token(proto_tree *tree, tvbuff_t *tvb, guint offset, tds_co struct _netlib_data *nl_data) { guint next, cur, len, col=0; - cur = offset; proto_tree_add_item_ret_uint(tree, hf_tds_colname_length, tvb, offset, 2, tds_get_int2_encoding(tds_info), &len); |