From c37bc1969be3955f877f6af005dd841b68f457d5 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 29 Jun 2019 15:55:29 +0200 Subject: [PATCH] [priv] use {} for no-op macro when debug is not enabled --- src/aubio_priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aubio_priv.h b/src/aubio_priv.h index 25d26e84..bf17ed09 100644 --- a/src/aubio_priv.h +++ b/src/aubio_priv.h @@ -250,7 +250,7 @@ uint_t aubio_log(sint_t level, const char_t *fmt, ...); #define AUBIO_DBG _AUBIO_DBG #else // disable debug output -#define AUBIO_DBG(format, args...) +#define AUBIO_DBG(format, args...) {} #endif #define AUBIO_ERROR AUBIO_ERR -- 2.11.0