fix coding rule & svace issue
[platform/core/account/fido-syspopup.git] / inc / util.h
old mode 100644 (file)
new mode 100755 (executable)
index bcd864e..c04ccf1
@@ -7,39 +7,39 @@
                if (!(cond)){\
                        return;\
                }\
-} while(0)
+} while (0)
 
 #define RET_IF_FAIL(cond, err) do {\
                if (!(cond)){\
                        return err;\
                }\
-} while(0)
+} while (0)
 
 #define CATCH_IF_FAIL(cond) do {\
                if (!(cond)){\
                        goto CATCH;\
                }\
-} while(0)
+} while (0)
 
 #define CATCH_IF_FAIL_X(cond, expr) do {\
                if (!(cond)){\
                        expr;\
                        goto CATCH;\
                }\
-} while(0)
+} while (0)
 
 #define GOTO_IF_FAIL(cond, catch_block) do {\
                if (!(cond)){\
                        goto catch_block;\
                }\
-} while(0)
+} while (0)
 
 #define SAFE_DELETE(x) do {\
-       if (x != NULL) {\
+       if (x != NULL){\
                free(x);    \
                x = NULL;\
        }\
-} while(0)
+} while (0)
 
 #define _SAFE_DUP(x) ((x) ? strdup(x) : NULL)