this is weird, but now it actually works
Signed-off-by: Angus Salkeld <asalkeld(a)redhat.com>
---
include/qb/qblog.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/qb/qblog.h b/include/qb/qblog.h
index 2736aa3..098e8f1 100644
--- a/include/qb/qblog.h
+++ b/include/qb/qblog.h
@@ -241,7 +241,7 @@ extern struct qb_log_callsite __stop___verbose[];
#define QB_LOG_INIT_DATA(name) \
void name(void); \
- void name(void) { assert(__start___verbose != __stop___verbose); } \
+ void name(void) { if (__start___verbose != __stop___verbose) {assert(1);} } \
void __attribute__ ((constructor)) name(void);
#else
#define QB_LOG_INIT_DATA(name)
--
1.7.6
Show replies by date