[master] 4f9d45b remove undesired semicolons
Poul-Henning Kamp
phk at varnish-cache.org
Mon Feb 28 12:00:03 CET 2011
commit 4f9d45bcf639310da7f304002a852d9737e9a48f
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Feb 28 10:54:24 2011 +0000
remove undesired semicolons
diff --git a/include/miniobj.h b/include/miniobj.h
index fc99f44..dfe7a59 100644
--- a/include/miniobj.h
+++ b/include/miniobj.h
@@ -44,14 +44,14 @@
(to) = (from); \
if ((to) != NULL) \
CHECK_OBJ((to), (type_magic)); \
- } while (0);
+ } while (0)
#define CAST_OBJ_NOTNULL(to, from, type_magic) \
do { \
(to) = (from); \
assert((to) != NULL); \
CHECK_OBJ((to), (type_magic)); \
- } while (0);
+ } while (0)
#define REPLACE(ptr, val) \
do { \
@@ -63,4 +63,4 @@
} else { \
ptr = NULL; \
} \
- } while (0);
+ } while (0)
More information about the varnish-commit
mailing list