diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2019-08-19 07:04:56 +0000 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2019-08-19 17:19:33 +0000 |
commit | 2d2f2df00692c0162c260fb09e7f7bc6c6a8b811 (patch) | |
tree | c948f547822c224cd36e75becbd017d7027e4ca1 | |
parent | b6e42f40d3c7f542a5f4492fa8caaa6786950dd5 (diff) |
tds: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I948f9cc9ef22798fd5e24d078e4749cb68548aec
Reviewed-on: https://code.wireshark.org/review/34319
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tds.c b/epan/dissectors/packet-tds.c index 91eba9a678..9a9b4a419c 100644 --- a/epan/dissectors/packet-tds.c +++ b/epan/dissectors/packet-tds.c @@ -2602,7 +2602,7 @@ dissect_tds_type_varbyte(tvbuff_t *tvb, guint *offset, packet_info *pinfo, proto */ gboolean sign = TRUE; - numericitem = proto_tree_add_item_ret_boolean(sub_tree, + proto_tree_add_item_ret_boolean(sub_tree, hf_tds_type_varbyte_data_sign, tvb, *offset, 1, ENC_NA, &sign); length -= 1; |