diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-06-20 01:13:21 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-06-20 01:13:21 +0000 |
commit | 91191c6c003ac2502626ae9bfb316e52fb6aa0a8 (patch) | |
tree | f0aa07f73632d1aa064e1a9af2fac2aa13b757e2 /epan/dissectors/packet-ncp-sss.c | |
parent | b8e727ac8d7d5f77c9244786056eb8da185e0022 (diff) |
Fix some gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings;
(Code commented out since it may be required in the future (at least in some cases).
svn path=/trunk/; revision=37723
Diffstat (limited to 'epan/dissectors/packet-ncp-sss.c')
-rw-r--r-- | epan/dissectors/packet-ncp-sss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ncp-sss.c b/epan/dissectors/packet-ncp-sss.c index 46a6a9c4f5..bc6d5cfdd0 100644 --- a/epan/dissectors/packet-ncp-sss.c +++ b/epan/dissectors/packet-ncp-sss.c @@ -521,7 +521,7 @@ sss_string(tvbuff_t* tvb, int hfinfo, proto_tree *sss_tree, int offset, gboolean void dissect_sss_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *ncp_tree, ncp_req_hash_value *request_value) { - guint8 func, subfunc = 0; + guint8 /*func,*/ subfunc = 0; guint32 subverb=0; guint32 msg_length=0; guint32 foffset= 0; @@ -533,7 +533,7 @@ dissect_sss_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *ncp_tree, ncp return; } foffset = 6; - func = tvb_get_guint8(tvb, foffset); + /*func = tvb_get_guint8(tvb, foffset);*/ foffset += 1; subfunc = tvb_get_guint8(tvb, foffset); foffset += 1; |