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:
Alexis La Goutte 2014-10-28 00:10:46 +01:00 committed by Evan Huus
parent 60172fad24
commit 309840ffc1
1 changed files with 0 additions and 1 deletions

View File

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