[lttng-dev] [PATCH lttng-tools 2/4] Fix: coding style document has erroneous semicolon at end of macro

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Thu May 19 15:57:43 UTC 2016


Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
---
 CodingStyle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CodingStyle b/CodingStyle
index 8833180..1d8bd9b 100644
--- a/CodingStyle
+++ b/CodingStyle
@@ -36,7 +36,7 @@ Use space to indent the '\' at the end but tabs at the beginning.
 #define a_macro(x)      \
 	do {                \
 		fsync();        \
-	} while (0);        \
+	} while (0)
 
 It's really the only time we use spaces. For everything else, there is TABS! :)
 
-- 
2.1.4



More information about the lttng-dev mailing list