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>
This commit is contained in:
Alexis La Goutte 2019-08-19 07:04:56 +00:00 committed by Anders Broman
parent b6e42f40d3
commit 2d2f2df006
1 changed files with 1 additions and 1 deletions

View File

@ -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;