[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Remove ; on the end of HSDebug
- To: herbstluftwm _minus_ devel _at_ lists _dot_ sourceforge _dot_ net
- Subject: [PATCH] Remove ; on the end of HSDebug
- From: Florian Bruhin <me _at_ the _minus_ compiler _dot_ org>
- Date: Thu, 15 Nov 2012 08:37:50 +0100
Here it doesn't make a difference, but IMHO macros should never end
with a semicolon.
Florian
--
() ascii ribbon campaign - stop html mail www.asciiribbon.org
/\ www.the-compiler.org | I love long mails http://email.is-not-s.ms/
Hark, the Herald Tribune sings, Advertising wondrous things. Angels we have
heard on High Tell us to go out and Buy. -- Tom Lehrer
>From b6972e67d1a2eb29d3cac1e967c606e9b819e88c Mon Sep 17 00:00:00 2001
From: Florian Bruhin <git _at_ the _minus_ compiler _dot_ org>
Date: Thu, 15 Nov 2012 08:35:45 +0100
Subject: [PATCH] Remove the ";" at the end of the HSDebug macro
---
src/globals.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/globals.h b/src/globals.h
index 20bb4a1..ef99432 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -48,7 +48,7 @@ int g_verbose;
fprintf(stderr, "%s: %d: ", __FILE__, __LINE__); \
fprintf(stderr, __VA_ARGS__); \
} \
- } while(0);
+ } while(0)
#endif
--
1.8.0