]> granicus.if.org Git - mutt/commitdiff
Resolve if/else empty body ambiguity/warnings when compiling without DEBUG.
authorMatthias Andree <matthias.andree@gmx.de>
Fri, 6 Aug 2010 19:52:36 +0000 (21:52 +0200)
committerMatthias Andree <matthias.andree@gmx.de>
Fri, 6 Aug 2010 19:52:36 +0000 (21:52 +0200)
lib.h

diff --git a/lib.h b/lib.h
index 71efb3830c107aaf574a93d81462c8179be22311..e13e1a246786de536b93181fe5e98cf8deea352e 100644 (file)
--- a/lib.h
+++ b/lib.h
@@ -132,7 +132,7 @@ void mutt_debug (FILE *, const char *, ...);
 
 # else
 
-#  define dprint(N,X)
+#  define dprint(N,X) do { } while (0)
 
 # endif