From 04bf43f88f1d64f64ac8ccf60f156d01e49669eb Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 29 Aug 2023 12:24:11 +0100 Subject: Fix macro when debug is off --- include/ubox_debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ubox_debug.h b/include/ubox_debug.h index 686671e..c1dabe9 100644 --- a/include/ubox_debug.h +++ b/include/ubox_debug.h @@ -6,7 +6,7 @@ do { fprintf(stderr, "DEBUG:%s:%d: ",__FILE__, __LINE__);\ fprintf(stderr, __VA_ARGS__); } while (0) #else -#define UBOX_DEBUG_LOG(fmt, args...) /* release */ +#define UBOX_DEBUG_LOG(...) /* release */ #endif #endif /* _UBOX_DEBUG_H */ -- cgit v1.2.3