summaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h
index 63b98029..5d7bf15b 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -133,7 +133,7 @@ namespace ledger {
extern bool verify_enabled;
-#define VERIFY(x) (ledger::verify_enabled ? assert(x) : ((void)0))
+#define VERIFY(x) if (ledger::verify_enabled) { assert(x); }
#define DO_VERIFY() ledger::verify_enabled
void initialize_memory_tracing();