From: Paul Brossier Date: Sat, 29 Jun 2019 13:55:29 +0000 (+0200) Subject: [priv] use {} for no-op macro when debug is not enabled X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=c37bc1969be3955f877f6af005dd841b68f457d5;p=aubio.git [priv] use {} for no-op macro when debug is not enabled --- 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