aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tn5250.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-03-17 19:23:01 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-03-17 19:23:01 +0000
commitf311e3ca6410d92ece86c1f9ca94291d7aaa1ea7 (patch)
tree0e8c21df4f806d050d36c3baffb4c6749b164b71 /epan/dissectors/packet-tn5250.c
parent7c6767303e4bd81b6cd41dd4acfc5f8da0992c04 (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48366
Diffstat (limited to 'epan/dissectors/packet-tn5250.c')
-rw-r--r--epan/dissectors/packet-tn5250.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-tn5250.c b/epan/dissectors/packet-tn5250.c
index 171e4c7552..9dad18e478 100644
--- a/epan/dissectors/packet-tn5250.c
+++ b/epan/dissectors/packet-tn5250.c
@@ -3021,7 +3021,7 @@ dissect_wcc(proto_tree *tn5250_tree, tvbuff_t *tvb, gint offset)
{ 0, 0, 0, 0, 0 }
};
- offset += tn5250_add_hf_items(tn5250_tree, tvb, offset, wcc_fields);
+ tn5250_add_hf_items(tn5250_tree, tvb, offset, wcc_fields);
return 2;
@@ -4607,8 +4607,8 @@ dissect_write_structured_field(proto_tree *tn5250_tree, tvbuff_t *tvb, gint offs
case DEFINE_SCALE_LINE:
offset += tn5250_add_hf_items(tn5250_tree, tvb, offset, dsl_fields);
while ((offset - start) < sf_length) {
- /* XXX length unused */
- length = tvb_get_guint8(tvb,offset);
+ /* XXX length unused
+ length = tvb_get_guint8(tvb,offset); */
offset += tn5250_add_hf_items(tn5250_tree, tvb, offset, dsl_fields2);
}
break;