diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2013-01-29 22:33:37 +0000 |
---|---|---|
committer | Martin Kaiser <wireshark@kaiser.cx> | 2013-01-29 22:33:37 +0000 |
commit | a32b153890c975c1787fdfdb3ad6dca9313ecbe0 (patch) | |
tree | 50615828cdc358fdc9d170cc84b7fdaddc14f02a | |
parent | 4a64d511192b93a62e225b0b56cd0d8c1821e745 (diff) | |
download | wireshark-a32b153890c975c1787fdfdb3ad6dca9313ecbe0.tar.gz |
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
-rw-r--r-- | epan/dissectors/packet-socks.c | 2 |
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){ |