Add braces around empty body in if statement

This commit is contained in:
Martin Willi
2010-03-03 16:53:42 +01:00
parent a5a4b6c9d1
commit d02308502f
+1 -1
View File
@@ -150,7 +150,7 @@
/** /**
* Ignore result of functions tagged with warn_unused_result attributes * Ignore result of functions tagged with warn_unused_result attributes
*/ */
#define ignore_result(call) { if(call); } #define ignore_result(call) { if(call){}; }
/** /**
* Assign a function as a class method * Assign a function as a class method