From 41eef9246c6a3055e3876e3dd7aeaadecb4b76c0 Mon Sep 17 00:00:00 2001 From: Toni Date: Wed, 3 Apr 2024 14:10:21 +0200 Subject: Disable `-Wno-unused-parameter -Wno-unused-function`. (#2358) * unused parameters and functions pollute the code and decrease readability Signed-off-by: Toni Uhlig --- fuzz/fuzz_ds_tree.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fuzz/fuzz_ds_tree.cpp') diff --git a/fuzz/fuzz_ds_tree.cpp b/fuzz/fuzz_ds_tree.cpp index 5e561e2e6..56d79b475 100644 --- a/fuzz/fuzz_ds_tree.cpp +++ b/fuzz/fuzz_ds_tree.cpp @@ -22,6 +22,9 @@ static void __free(void * const node) } static void __walk(const void *a, ndpi_VISIT which, int depth, void *user_data) { + (void)which; + (void)depth; + assert(user_data == NULL && a); } -- cgit v1.2.3