projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2f16966
)
[priv] use {} for no-op macro when debug is not enabled
author
Paul Brossier
<piem@piem.org>
Sat, 29 Jun 2019 13:55:29 +0000
(15:55 +0200)
committer
Paul Brossier
<piem@piem.org>
Sat, 29 Jun 2019 13:55:29 +0000
(15:55 +0200)
src/aubio_priv.h
patch
|
blob
|
history
diff --git
a/src/aubio_priv.h
b/src/aubio_priv.h
index
25d26e8
..
bf17ed0
100644
(file)
--- 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 _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