aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2017-12-06 22:29:19 +0100
committerMichael Mann <mmann78@netscape.net>2017-12-06 23:56:56 +0000
commit244aab31ee83c72aa0cefae650abec40ff1fd753 (patch)
treea8dc2d3cc33ca60495528ac2633ca656d593aaa6
parentb59c39b271e1cb39e4faa54f1af4bfcc2a602807 (diff)
profinet: removed unused var.
Some compilers complain about it: - clang (all) - gcc 6 - gcc 7 ../plugins/profinet/packet-dcerpc-pn-io.c:2608:27: error: unused variable 'pn_io_mau_type_extension' [-Werror,-Wunused-const-variable] static const range_string pn_io_mau_type_extension[] = { Change-Id: Iaffdad31c4ecd7459d07a74e3e2665058c9ff9ba Reviewed-on: https://code.wireshark.org/review/24715 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>
-rw-r--r--plugins/profinet/packet-dcerpc-pn-io.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/plugins/profinet/packet-dcerpc-pn-io.c b/plugins/profinet/packet-dcerpc-pn-io.c
index cfd2517..0cda9a6 100644
--- a/plugins/profinet/packet-dcerpc-pn-io.c
+++ b/plugins/profinet/packet-dcerpc-pn-io.c
@@ -2605,16 +2605,6 @@ static const value_string pn_io_peer_to_peer_boundary_value_bit2[] = {
{ 0, NULL }
};
-static const range_string pn_io_mau_type_extension[] = {
- { 0x0000, 0x0000, "No SubMAUType" },
- { 0x0001, 0x00FF, "Reserved" },
- { 0x0100, 0x0100, "POF" },
- { 0x0101, 0xFFEF, "Reserved for SubMAUType" },
- { 0xFFF0, 0xFFFF, "Reserved" },
- { 0, 0, NULL }
-};
-
-
static const value_string pn_io_port_state[] = {
{ 0x0000, "reserved" },
{ 0x0001, "up" },