summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-teamspeak2.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-03-17 19:23:26 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-03-17 19:23:26 +0000
commit01f88e92072a61029b04c1b4ffd4408d8e6358f8 (patch)
treecf89d6fc7038afb5988b96239481eb6ddf5dab64 /epan/dissectors/packet-teamspeak2.c
parentac8801b3962c2019d05d3fb0031ff864a3c882b5 (diff)
downloadwireshark-01f88e92072a61029b04c1b4ffd4408d8e6358f8.tar.gz
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48369
Diffstat (limited to 'epan/dissectors/packet-teamspeak2.c')
-rw-r--r--epan/dissectors/packet-teamspeak2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-teamspeak2.c b/epan/dissectors/packet-teamspeak2.c
index b776c41f67..db223a3ca4 100644
--- a/epan/dissectors/packet-teamspeak2.c
+++ b/epan/dissectors/packet-teamspeak2.c
@@ -510,7 +510,6 @@ static void ts2_parse_newplayerjoined(tvbuff_t *tvb, proto_tree *ts2_tree)
proto_tree_add_item(ts2_tree, hf_ts2_unknown, tvb, offset, 6, ENC_NA);
offset+=6;
proto_tree_add_item(ts2_tree, hf_ts2_nick, tvb, offset, 1, ENC_ASCII|ENC_NA);
- offset+=30;
}
/* Parses TS2_LOGINEND packet and adds it to the tree */
@@ -540,7 +539,6 @@ static void ts2_parse_switchchannel(tvbuff_t *tvb, proto_tree *ts2_tree)
proto_tree_add_item(ts2_tree, hf_ts2_channel_id, tvb, offset, 4, ENC_LITTLE_ENDIAN);
offset+=4;
proto_tree_add_item(ts2_tree, hf_ts2_password, tvb, offset, 1, ENC_ASCII|ENC_NA);
- offset+=30;
}
/* Parses a ts2 channel change (TS2T_CHANNELCHANGE) packet and adds it to the tree */