aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ncp-nmas.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-06-20 01:13:21 +0000
committerBill Meier <wmeier@newsguy.com>2011-06-20 01:13:21 +0000
commit91191c6c003ac2502626ae9bfb316e52fb6aa0a8 (patch)
treef0aa07f73632d1aa064e1a9af2fac2aa13b757e2 /epan/dissectors/packet-ncp-nmas.c
parentb8e727ac8d7d5f77c9244786056eb8da185e0022 (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-nmas.c')
-rw-r--r--epan/dissectors/packet-ncp-nmas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ncp-nmas.c b/epan/dissectors/packet-ncp-nmas.c
index fe40e14485..ef9ed3d9c1 100644
--- a/epan/dissectors/packet-ncp-nmas.c
+++ b/epan/dissectors/packet-ncp-nmas.c
@@ -282,7 +282,7 @@ nmas_string(tvbuff_t* tvb, int hfinfo, proto_tree *nmas_tree, int offset, gboole
void
dissect_nmas_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *ncp_tree, ncp_req_hash_value *request_value)
{
- guint8 func, subfunc = 0;
+ guint8 /*func,*/ subfunc;
guint32 msg_length=0, cur_string_len=0;
guint32 foffset;
guint32 subverb=0;
@@ -292,7 +292,7 @@ dissect_nmas_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *ncp_tree, nc
proto_item *aitem;
foffset = 6;
- func = tvb_get_guint8(tvb, foffset);
+ /*func = tvb_get_guint8(tvb, foffset);*/
foffset += 1;
subfunc = tvb_get_guint8(tvb, foffset);
foffset += 1;