aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
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/unit
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/unit')
-rw-r--r--tests/unit/unit.c3
1 files changed, 3 insertions, 0 deletions
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) {