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 --- tests/unit/unit.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/unit') diff --git a/tests/unit/unit.c b/tests/unit/unit.c index 4b83be3b1..3ad95e229 100644 --- a/tests/unit/unit.c +++ b/tests/unit/unit.c @@ -366,6 +366,9 @@ int main(int argc, char **argv) { #ifndef WIN32 int c; #endif + (void)argc; + (void)argv; + NDPI_PROTOCOL_BITMASK all; if (ndpi_get_api_version() != NDPI_API_VERSION) { -- cgit v1.2.3