diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-05-22 10:28:13 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-05-22 11:04:55 +0000 |
commit | e92ee3590dd411a2ee9857c19480fc9c4f509151 (patch) | |
tree | d1be863f6225f4f7e985e003e9e2b8c4d8f0da71 /epan | |
parent | db4abb64eafcf1372585be025461e76d54f38ebb (diff) |
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: I2c7ed98e28a5149562d61f8005629f351a31c11b
Reviewed-on: https://code.wireshark.org/review/1721
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-dis.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-dis.c b/epan/dissectors/packet-dis.c index 9b46e9c313..b9d9a0e77f 100644 --- a/epan/dissectors/packet-dis.c +++ b/epan/dissectors/packet-dis.c @@ -5008,8 +5008,8 @@ static int dissect_DIS_PARSER_IFF_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, pro proto_tree_add_bits_item(field_tree, hf_dis_iff_mode_malfunction, tvb, offset*8, 1, ENC_BIG_ENDIAN); offset += 2; - ti = proto_tree_add_item(sub_tree, hf_dis_iff_parameter_6, tvb, offset, 2, ENC_BIG_ENDIAN); - field_tree = proto_item_add_subtree(ti, ett_iff_parameter_6); + /*ti = */proto_tree_add_item(sub_tree, hf_dis_iff_parameter_6, tvb, offset, 2, ENC_BIG_ENDIAN); + /*field_tree = proto_item_add_subtree(ti, ett_iff_parameter_6);*/ offset += 2; col_append_fstr(pinfo->cinfo, COL_INFO, ", %d-%d-%d", site, application, entity); |