diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-03-17 19:23:18 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-03-17 19:23:18 +0000 |
commit | ac8801b3962c2019d05d3fb0031ff864a3c882b5 (patch) | |
tree | e8844a850bc3082e02455771a573085a9cd54493 /epan/dissectors/packet-telnet.c | |
parent | b31873a5bdddd33d7b155addc0867c8599d89b14 (diff) |
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48368
Diffstat (limited to 'epan/dissectors/packet-telnet.c')
-rw-r--r-- | epan/dissectors/packet-telnet.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-telnet.c b/epan/dissectors/packet-telnet.c index 7b178ec5e2..7cb8eec8d6 100644 --- a/epan/dissectors/packet-telnet.c +++ b/epan/dissectors/packet-telnet.c @@ -288,7 +288,6 @@ dissect_tn3270_regime_subopt(packet_info *pinfo, const char *optname _U_, tvbuff proto_tree_add_text(tree, tvb, offset, 1, "IS"); } proto_tree_add_item(tree, hf_tn3270_regime_subopt_value, tvb, offset + 1, len - 1, ENC_NA|ENC_ASCII); - offset += len; len -= len; return; default: @@ -1534,7 +1533,6 @@ telnet_sub_option(packet_info *pinfo, proto_tree *option_tree, proto_item *optio /* Search for an unescaped IAC. */ cur_offset = offset; - iac_found = FALSE; len = tvb_length_remaining(tvb, offset); do { iac_offset = tvb_find_guint8(tvb, cur_offset, len, TN_IAC); |