summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-10-23 16:59:34 +0000
committerBill Meier <wmeier@newsguy.com>2013-10-23 16:59:34 +0000
commit8c220a6f7f8540914a0834bd114d97cdedd5d18f (patch)
tree91dacfe4ce1ab8fd33a5a0b55825562fdba82a57 /plugins
parent79d58dc6707a09466bed0f8ce173627259f29e4a (diff)
downloadwireshark-8c220a6f7f8540914a0834bd114d97cdedd5d18f.tar.gz
Fix (using '#if 0') a few more [-Wunused-const-variable] warnings
svn path=/trunk/; revision=52799
Diffstat (limited to 'plugins')
-rw-r--r--plugins/docsis/packet-tlv.c2
-rw-r--r--plugins/opcua/opcua_security_layer.c8
-rw-r--r--plugins/profinet/packet-dcom-cba-acco.c2
-rw-r--r--plugins/profinet/packet-pn-mrp.c6
-rw-r--r--plugins/profinet/packet-pn-ptcp.c2
-rw-r--r--plugins/profinet/packet-pn-rt.c3
-rw-r--r--plugins/wimaxmacphy/packet-wimaxmacphy.c6
7 files changed, 26 insertions, 3 deletions
diff --git a/plugins/docsis/packet-tlv.c b/plugins/docsis/packet-tlv.c
index 50e3572bca..30fbfb5df5 100644
--- a/plugins/docsis/packet-tlv.c
+++ b/plugins/docsis/packet-tlv.c
@@ -488,10 +488,12 @@ static const value_string action_vals[] = {
{0, NULL},
};
+#if 0
static const true_false_string verify_tfs = {
"Don't Verify",
"Verify"
};
+#endif
static const value_string rng_tech_vals[] = {
{0, "Perform initial maintenance on new channel"},
diff --git a/plugins/opcua/opcua_security_layer.c b/plugins/opcua/opcua_security_layer.c
index e02af8327c..b9cb00425e 100644
--- a/plugins/opcua/opcua_security_layer.c
+++ b/plugins/opcua/opcua_security_layer.c
@@ -3,15 +3,15 @@
**
** Copyright (C) 2006-2007 ascolab GmbH. All Rights Reserved.
** Web: http://www.ascolab.com
-**
+**
** This program is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License
** as published by the Free Software Foundation; either version 2
** of the License, or (at your option) any later version.
-**
+**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-**
+**
** Project: OpcUa Wireshark Plugin
**
** Description: OpcUa Security Layer Decoder.
@@ -28,6 +28,7 @@
#include "opcua_application_layer.h"
#include "opcua_simpletypes.h"
+#if 0
/** NodeClass enum table */
static const value_string g_SecSigTable[] = {
{ 0, "GetSecurityPolcies" },
@@ -36,6 +37,7 @@ static const value_string g_SecSigTable[] = {
{ 3, "Message" },
{ 0, NULL }
};
+#endif
static int hf_opcua_security_tokenid = -1;
static int hf_opcua_security_seq = -1;
diff --git a/plugins/profinet/packet-dcom-cba-acco.c b/plugins/profinet/packet-dcom-cba-acco.c
index 2a4c5c52c6..02231e4ef2 100644
--- a/plugins/profinet/packet-dcom-cba-acco.c
+++ b/plugins/profinet/packet-dcom-cba-acco.c
@@ -229,12 +229,14 @@ static const value_string cba_acco_conn_state_vals[] = {
{ 0, NULL }
};
+#if 0
static const value_string cba_acco_serversrt_action_vals[] = {
{ 0x00, "Activate" },
{ 0x01, "Deactivate" },
{ 0x02, "Remove" },
{ 0, NULL }
};
+#endif
static const value_string cba_acco_serversrt_last_connect_vals[] = {
{ 0x00, "CR not complete" },
diff --git a/plugins/profinet/packet-pn-mrp.c b/plugins/profinet/packet-pn-mrp.c
index 258e346152..bc94ea0f51 100644
--- a/plugins/profinet/packet-pn-mrp.c
+++ b/plugins/profinet/packet-pn-mrp.c
@@ -85,6 +85,8 @@ static const value_string pn_mrp_port_role_vals[] = {
{ 0, NULL }
};
+
+#if 0
static const value_string pn_mrp_role_vals[] = {
{ 0x0000, "Media redundancy disabled" },
{ 0x0001, "Media redundancy client" },
@@ -94,6 +96,7 @@ static const value_string pn_mrp_role_vals[] = {
{ 0, NULL }
};
+#endif
static const value_string pn_mrp_ring_state_vals[] = {
{ 0x0000, "Ring open" },
@@ -104,11 +107,14 @@ static const value_string pn_mrp_ring_state_vals[] = {
};
+#if 0
static const value_string pn_mrp_prio_vals[] = {
{ 0x8000, "Default priority for redundancy manager" },
{ 0, NULL }
};
+#endif
+
/* routine disecting an uint16 and returning that item as well */
/* dissect a 16 bit unsigned integer */
int
diff --git a/plugins/profinet/packet-pn-ptcp.c b/plugins/profinet/packet-pn-ptcp.c
index 7a18cc1170..db048c4491 100644
--- a/plugins/profinet/packet-pn-ptcp.c
+++ b/plugins/profinet/packet-pn-ptcp.c
@@ -153,11 +153,13 @@ static const value_string pn_ptcp_master_prio1_vals_active[] = {
{ 0, NULL }
};
+#if 0
static const value_string pn_ptcp_master_prio1_short_vals[] = {
{ 0x01, "Primary" },
{ 0x02, "Secondary" },
{ 0, NULL }
};
+#endif
static const value_string pn_ptcp_master_prio2_vals[] = {
{ 0xFF, "Default" },
diff --git a/plugins/profinet/packet-pn-rt.c b/plugins/profinet/packet-pn-rt.c
index 13d5bcd246..2b3ea81205 100644
--- a/plugins/profinet/packet-pn-rt.c
+++ b/plugins/profinet/packet-pn-rt.c
@@ -107,11 +107,14 @@ static gboolean pn_rt_summary_in_tree = TRUE;
static heur_dissector_list_t heur_subdissector_list;
+#if 0
static const value_string pn_rt_position_control[] = {
{ 0x00, "CRC16 and CycleCounter shall not be checked" },
{ 0x80, "CRC16 and CycleCounter valid" },
{ 0, NULL }
};
+#endif
+
static const value_string pn_rt_ds_redundancy[] = {
{ 0x00, "One primary AR of a given AR-set is present" },
{ 0x01, "None primary AR of a given AR-set is present" },
diff --git a/plugins/wimaxmacphy/packet-wimaxmacphy.c b/plugins/wimaxmacphy/packet-wimaxmacphy.c
index c0443a9529..8385fc195c 100644
--- a/plugins/wimaxmacphy/packet-wimaxmacphy.c
+++ b/plugins/wimaxmacphy/packet-wimaxmacphy.c
@@ -407,6 +407,7 @@ static const value_string wimaxmacphy_prim_txstart_indication_status_vals[]=
/* ------------------------------------------------------------------------- */
+#if 0
static const value_string wimaxmacphy_prim_sub_burst_burst_split_point_vals[]=
{
{ 0x00, "all 10 bits for burst number"},
@@ -419,15 +420,18 @@ static const value_string wimaxmacphy_prim_sub_burst_burst_split_point_vals[]=
{ 0x07, "7 bit sub-burst and 3 bits burst number"},
{ 0, NULL}
};
+#endif
/* ------------------------------------------------------------------------- */
+#if 0
static const value_string wimaxmacphy_prim_phy_request_vals[]=
{
{ 0x0, "LW 1 not present"},
{ 0x1, "AAS calibration request present in LW 1"},
{ 0, NULL}
};
+#endif
/* ------------------------------------------------------------------------- */
@@ -960,12 +964,14 @@ static const value_string wimaxmacphy_ul_sub_burst_ctype_vals[]=
/* ------------------------------------------------------------------------- */
+#if 0
static const value_string wimaxmacphy_ul_sub_burst_feedback_sub_type_vals[]=
{
{ 0, "CQI (CINR) measurement"},
{ 1, "Control feedback"},
{ 0, NULL}
};
+#endif
/* ------------------------------------------------------------------------- */