From 0d495294bfdd5b4ba13a78de2c76f3682b20c888 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Tue, 7 May 2024 10:04:11 +0200 Subject: Win warning fixes --- src/include/ndpi_private.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/include/ndpi_private.h b/src/include/ndpi_private.h index ce689354d..988e26ac9 100644 --- a/src/include/ndpi_private.h +++ b/src/include/ndpi_private.h @@ -465,11 +465,15 @@ struct ndpi_detection_module_struct { #else /* not defined NDPI_ENABLE_DEBUG_MESSAGES */ # ifdef WIN32 +/* +* Already defined in ndpi_define.h +* # define NDPI_LOG(mod, ...) { (void)mod; } # define NDPI_LOG_ERR(mod, ...) { (void)mod; } # define NDPI_LOG_INFO(mod, ...) { (void)mod; } # define NDPI_LOG_DBG(mod, ...) { (void)mod; } # define NDPI_LOG_DBG2(mod, ...) { (void)mod; } +*/ # else # define NDPI_LOG(proto, mod, log_level, args...) { /* printf(args); */ } # ifndef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -- cgit v1.2.3