aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/dga/dga_evaluate.c1
-rw-r--r--tests/unit/unit.c3
2 files changed, 4 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;
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) {