profinet: removed unused var.
authorDario Lombardo <lomato@gmail.com>
Wed, 6 Dec 2017 21:29:19 +0000 (22:29 +0100)
committerMichael Mann <mmann78@netscape.net>
Wed, 6 Dec 2017 23:56:56 +0000 (23:56 +0000)
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>
plugins/profinet/packet-dcerpc-pn-io.c

index cfd251758e085a83babf1d402ab7534478849b8b..0cda9a66fe0d2c5a0279d9beb13837ab178facbc 100644 (file)
@@ -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" },