aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-socks.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-04-16 14:15:33 +0000
committerEvan Huus <eapache@gmail.com>2013-04-16 14:15:33 +0000
commit80350136f0eb8206c0feba4e7fe725024b4051a1 (patch)
treece72436e66be99164bc135d3f5a58725911256a5 /epan/dissectors/packet-socks.c
parent5c85df8a93b4eba7e061d8af794fd7ba655e7907 (diff)
Dead assignment caught by cppcheck.
svn path=/trunk/; revision=48879
Diffstat (limited to 'epan/dissectors/packet-socks.c')
-rw-r--r--epan/dissectors/packet-socks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-socks.c b/epan/dissectors/packet-socks.c
index 83cc942ac1..56347fa92b 100644
--- a/epan/dissectors/packet-socks.c
+++ b/epan/dissectors/packet-socks.c
@@ -630,7 +630,7 @@ server_display_socks_v5(tvbuff_t *tvb, int offset, packet_info *pinfo _U_,
case serverGssApiReply:
auth_status = tvb_get_guint8(tvb, offset);
- ti = proto_tree_add_item( tree, hf_gssapi_command, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item( tree, hf_gssapi_command, tvb, offset, 1, ENC_BIG_ENDIAN);
if (auth_status != 0xFF) {
guint16 len;