fix coding rule error 68/149668/2
authorYoungjae Shin <yj99.shin@samsung.com>
Wed, 13 Sep 2017 01:44:19 +0000 (10:44 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 13 Sep 2017 02:42:57 +0000 (02:42 +0000)
Change-Id: I86e3b7ba445367e0af3fa1bad8dfeedae92a6e36

src/pkg_upgrade.h

index f112e04f440a6a4f7e237a58b605975d1b8569b6..49dd9810677263d9371b72dd4b9903806ed79d79 100644 (file)
                        free((void *)ptr);      \
                        ptr = NULL;     \
                } \
-} while(0)
+} while (0)
 #endif
 
 #ifndef FREE_AND_STRDUP
 #define        FREE_AND_STRDUP(from, to) do {  \
                if (to) free((void *)to);       \
                if (from) to = strdup(from);    \
-} while(0)
+} while (0)
 #endif
 
 #define _LOGE(fmt, arg...) do { \
                _LOGE("(%s)"fmt, #expr, ##arg); \
                return (val);   \
        }       \
-} while(0)
+} while (0)
 
 #define        err_if(expr, fmt, arg...) do {  \
        if (expr) { \
                _LOGE("(%s)"fmt, #expr, ##arg); \
        }       \
-} while(0)
+} while (0)
 
 #define tryvm_if(expr, val, fmt, arg...) do { \
        if (expr) { \