summaryrefslogtreecommitdiff
path: root/dissector_eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'dissector_eth.c')
-rw-r--r--dissector_eth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dissector_eth.c b/dissector_eth.c
index c700943..b87c957 100644
--- a/dissector_eth.c
+++ b/dissector_eth.c
@@ -97,10 +97,10 @@ static void dissector_init_layer_3(int type)
for_each_hash_int(&eth_lay3, dissector_set_print_type, type);
}
#else
-static inline void dissector_init_entry(int type) {}
-static inline void dissector_init_exit(int type) {}
-static void dissector_init_layer_2(int type) {}
-static void dissector_init_layer_3(int type) {}
+static inline void dissector_init_entry(int type __maybe_unused) {}
+static inline void dissector_init_exit(int type __maybe_unused) {}
+static void dissector_init_layer_2(int type __maybe_unused) {}
+static void dissector_init_layer_3(int type __maybe_unused) {}
#endif
enum ports {