summaryrefslogtreecommitdiff
path: root/base85.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-08-12 17:11:15 -0500
committerJunio C Hamano <gitster@pobox.com>2010-08-12 15:44:51 -0700
commit987460611ab08ebac83ead9a5ee316d3b3823e7f (patch)
treebe489213bae1efc32ec9e82e0f22ce55a98065a7 /base85.c
parent0d1d6e50cf3401874b50b77aa1dc0e33357a1556 (diff)
downloadgit-987460611ab08ebac83ead9a5ee316d3b3823e7f.tar.gz
Standardize do { ... } while (0) style
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'base85.c')
-rw-r--r--base85.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/base85.c b/base85.c
index e459feebbf..781b5754f0 100644
--- a/base85.c
+++ b/base85.c
@@ -7,9 +7,9 @@
#define say1(a,b) fprintf(stderr, a, b)
#define say2(a,b,c) fprintf(stderr, a, b, c)
#else
-#define say(a) do {} while(0)
-#define say1(a,b) do {} while(0)
-#define say2(a,b,c) do {} while(0)
+#define say(a) do { /* nothing */ } while (0)
+#define say1(a,b) do { /* nothing */ } while (0)
+#define say2(a,b,c) do { /* nothing */ } while (0)
#endif
static const char en85[] = {