[priv] use {} for no-op macro when debug is not enabled
authorPaul Brossier <piem@piem.org>
Sat, 29 Jun 2019 13:55:29 +0000 (15:55 +0200)
committerPaul Brossier <piem@piem.org>
Sat, 29 Jun 2019 13:55:29 +0000 (15:55 +0200)
src/aubio_priv.h

index 25d26e8..bf17ed0 100644 (file)
@@ -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 _AUBIO_DBG
 #else
 // disable debug output
-#define AUBIO_DBG(format, args...)
+#define AUBIO_DBG(format, args...)   {}
 #endif
 
 #define AUBIO_ERROR   AUBIO_ERR
 #endif
 
 #define AUBIO_ERROR   AUBIO_ERR