diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-02-24 19:13:46 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-02-24 19:13:46 +0000 |
commit | d337d0574d1bfcba2c2a14929bd46dbd69f27919 (patch) | |
tree | 437439293343607169493188152cb0f0d2ecca79 /epan | |
parent | bb0bb441d2909b9ee11f85d24328dea61b6f2f5f (diff) |
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=47862
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-tns.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-tns.c b/epan/dissectors/packet-tns.c index 406bd6d98b..c88a8cbb4d 100644 --- a/epan/dissectors/packet-tns.c +++ b/epan/dissectors/packet-tns.c @@ -492,7 +492,7 @@ static void dissect_tns_connect(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree_add_item(connect_tree, hf_tns_trace_cid, tvb, offset, 8, ENC_BIG_ENDIAN); } - offset += 8; + /* offset += 8;*/ } if ( connect_tree && cd_len > 0) @@ -609,7 +609,7 @@ static void dissect_tns_accept(tvbuff_t *tvb, int offset, packet_info *pinfo, dissect_tns_connect_flag(tvb, offset, cflag_tree); } - offset += 1; + /* offset += 1; */ if ( accept_tree && accept_len > 0) { @@ -767,7 +767,7 @@ static void dissect_tns_marker(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree_add_item(marker_tree, hf_tns_marker_data_byte, tvb, offset, 1, ENC_BIG_ENDIAN); } - offset += 1; + /*offset += 1;*/ return; } |