aboutsummaryrefslogtreecommitdiff
path: root/tests/dga
diff options
context:
space:
mode:
authorToni <matzeton@googlemail.com>2024-04-03 14:10:21 +0200
committerGitHub <noreply@github.com>2024-04-03 14:10:21 +0200
commit41eef9246c6a3055e3876e3dd7aeaadecb4b76c0 (patch)
tree275c7300abf2233e8d89896a3a888ada01fef4bb /tests/dga
parentb5e8bc22147d37011621ae62b680742c8fa105dc (diff)
Disable `-Wno-unused-parameter -Wno-unused-function`. (#2358)
* unused parameters and functions pollute the code and decrease readability Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'tests/dga')
-rw-r--r--tests/dga/dga_evaluate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/dga/dga_evaluate.c b/tests/dga/dga_evaluate.c
index 27f89fbdc..7a63f2ca1 100644
--- a/tests/dga/dga_evaluate.c
+++ b/tests/dga/dga_evaluate.c
@@ -51,6 +51,7 @@ static void ndpi_dbg_fn(u_int32_t protocol,
/* While this program always logs at NDPI_LOG_DEBUG_EXTRA level, the
initialization of the library may log at any level */
+ (void)log_level;
(void)file;
(void)func;
(void)line;