diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2013-01-29 23:35:30 +0000 |
---|---|---|
committer | Martin Kaiser <wireshark@kaiser.cx> | 2013-01-29 23:35:30 +0000 |
commit | b48fb53c7ecd09c1ed014e8e75b509b7ca51b6ec (patch) | |
tree | f28c77408b40f78ed1986690b363b2c4e0047374 /epan/dissectors/packet-fcsp.c | |
parent | a32b153890c975c1787fdfdb3ad6dca9313ecbe0 (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-AQojcV.html#EndPath
svn path=/trunk/; revision=47363
Diffstat (limited to 'epan/dissectors/packet-fcsp.c')
-rw-r--r-- | epan/dissectors/packet-fcsp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-fcsp.c b/epan/dissectors/packet-fcsp.c index 15167c1026..b7285e7417 100644 --- a/epan/dissectors/packet-fcsp.c +++ b/epan/dissectors/packet-fcsp.c @@ -171,10 +171,9 @@ static void dissect_fcsp_dhchap_auth_param(tvbuff_t *tvb, proto_tree *tree, int offset, gint32 total_len) { guint16 auth_param_tag; - guint16 param_len = 0, i; + guint16 param_len, i; if (tree) { - auth_param_tag = tvb_get_ntohs(tvb, offset); total_len -= 4; while (total_len > 0) { |