aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-socks.c
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2013-01-29 22:33:37 +0000
committerMartin Kaiser <wireshark@kaiser.cx>2013-01-29 22:33:37 +0000
commita32b153890c975c1787fdfdb3ad6dca9313ecbe0 (patch)
tree50615828cdc358fdc9d170cc84b7fdaddc14f02a /epan/dissectors/packet-socks.c
parent4a64d511192b93a62e225b0b56cd0d8c1821e745 (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
http://www.wireshark.org/download/automated/analysis/scan-build-2013-01-28-1/report-eehjto.html#EndPath svn path=/trunk/; revision=47362
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 5f30aa887e..19af710dc9 100644
--- a/epan/dissectors/packet-socks.c
+++ b/epan/dissectors/packet-socks.c
@@ -790,7 +790,7 @@ state_machine_v5( socks_hash_entry_t *hash_info, tvbuff_t *tvb,
temp = tvb_get_guint8(tvb, offset + 1);
/* skip past auth methods */
- offset = hash_info->connect_offset = offset + 1 + temp;
+ hash_info->connect_offset = offset + 1 + temp;
}
else if ( hash_info->state == Connecting){