<<< Date Index >>>     <<< Thread Index >>>

[PATCH 3 of 9] Resolve if/else empty body ambiguity/warnings when compiling without DEBUG



# HG changeset patch
# User Matthias Andree <matthias.andree@xxxxxx>
# Date 1281124356 -7200
# Branch HEAD
# Node ID fa6b3ce69655b50e1e8146dce3d4b83f040052fc
# Parent  38a8fa1d1b69727de8b8f4cba49b9cb949032691
Resolve if/else empty body ambiguity/warnings when compiling without DEBUG.

diff --git a/lib.h b/lib.h
--- a/lib.h
+++ b/lib.h
@@ -132,7 +132,7 @@
 
 # else
 
-#  define dprint(N,X)
+#  define dprint(N,X) do { } while (0)
 
 # endif