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:
parent
b6e42f40d3
commit
2d2f2df006
1 changed files with 1 additions and 1 deletions
|
@ -2602,7 +2602,7 @@ dissect_tds_type_varbyte(tvbuff_t *tvb, guint *offset, packet_info *pinfo, proto
|
||||||
*/
|
*/
|
||||||
gboolean sign = TRUE;
|
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,
|
hf_tds_type_varbyte_data_sign, tvb, *offset, 1,
|
||||||
ENC_NA, &sign);
|
ENC_NA, &sign);
|
||||||
length -= 1;
|
length -= 1;
|
||||||
|
|
Loading…
Reference in a new issue