TN5250: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: Ida9f7198d6e3ef7bab5d787883116600019180ec Reviewed-on: https://code.wireshark.org/review/4963 Reviewed-by: Evan Huus <eapache@gmail.com>
This commit is contained in:
parent
60172fad24
commit
309840ffc1
|
@ -4701,7 +4701,6 @@ dissect_write_structured_field(proto_tree *tn5250_tree, tvbuff_t *tvb, gint offs
|
|||
1, ENC_BIG_ENDIAN);
|
||||
offset++;
|
||||
while ((offset - start) < sf_length) {
|
||||
length = tvb_get_guint8(tvb,offset);
|
||||
proto_tree_add_item(tn5250_tree, hf_tn5250_length, tvb, offset,
|
||||
1, ENC_BIG_ENDIAN);
|
||||
offset++;
|
||||
|
|
Loading…
Reference in New Issue