[master] ef59a3c Remove extra semicolon in macros

Martin Blix Grydeland martin at varnish-cache.org
Fri Mar 11 15:09:41 CET 2011


commit ef59a3c7a2a46a14b2406c817fa84118e6ddbeee
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date:   Fri Mar 11 14:28:23 2011 +0100

    Remove extra semicolon in macros

diff --git a/bin/varnishadm/varnishadm.c b/bin/varnishadm/varnishadm.c
index e0a6119..628a995 100644
--- a/bin/varnishadm/varnishadm.c
+++ b/bin/varnishadm/varnishadm.c
@@ -55,9 +55,9 @@ SVNID("$Id$")
 	do { \
 		rl_callback_handler_remove(); \
 		exit(status); \
-	} while (0);
+	} while (0)
 #else
-#define RL_EXIT(status) exit(status);
+#define RL_EXIT(status) exit(status)
 #endif
 
 static double timeout = 5;



More information about the varnish-commit mailing list