aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-02-10 09:45:56 +0100
committerAnders Broman <a.broman58@gmail.com>2016-02-11 13:53:53 +0000
commit056b0cb2fca50db33fa5307a2c2e7b1de646f248 (patch)
tree5011037e59c85ee38e1c5cea0db0241c13abcf87 /epan
parent48f698a439e3107bc44bfa9829e0b1c60239aeec (diff)
NCP2222: fix ‘nds_scope_vals’ defined but not used [-Werror=unused-const-variable] found by gcc6
Change-Id: I8482ce09690a56b1c380abd17b158267c0b63fed Reviewed-on: https://code.wireshark.org/review/13876 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-ncp2222.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ncp2222.inc b/epan/dissectors/packet-ncp2222.inc
index df0499ae7d..d9dca8edc7 100644
--- a/epan/dissectors/packet-ncp2222.inc
+++ b/epan/dissectors/packet-ncp2222.inc
@@ -317,6 +317,7 @@ static const value_string nds_tuned_tags[] = {
{0, NULL }
};
+#if 0
static const value_string nds_scope_vals[] = {
{ 0, "Search Scope: 0x0000 - Examine base object only" },
{ 1, "Search Scope: 0x0001 - Search the immediate subordinates of the base object" },
@@ -324,6 +325,7 @@ static const value_string nds_scope_vals[] = {
{ 3, "Search Scope: 0x0003 - Search the base objects and all objects in its partition (NDS version 8 or higher)" },
{0, NULL }
};
+#endif
static const value_string nds_tuned_item_tags[] = {
{ 0, "Single Item" },