From: Martin Willi Date: Wed, 3 Mar 2010 15:53:42 +0000 (+0100) Subject: Add braces around empty body in if statement X-Git-Tag: 4.4.0~255 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d02308502f2d0368235d208c6503884fc3ae974c;p=thirdparty%2Fstrongswan.git Add braces around empty body in if statement --- diff --git a/src/libstrongswan/utils.h b/src/libstrongswan/utils.h index 367e75ef21..d3500258fb 100644 --- a/src/libstrongswan/utils.h +++ b/src/libstrongswan/utils.h @@ -150,7 +150,7 @@ /** * 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