From: jihwan.seo Date: Tue, 7 Mar 2017 08:11:04 +0000 (+0900) Subject: remove unneccessary brace code in NS logger. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a27f86cbb6e878f511d83e41c6e18ffccd4e3e2;p=contrib%2Fiotivity.git remove unneccessary brace code in NS logger. since we can't enclose a block in C in braces (()). it is better to remove in NS logger Change-Id: I33a721155916f4c0eb17e6d34f3e7fbf8440625e Signed-off-by: jihwan.seo Reviewed-on: https://gerrit.iotivity.org/gerrit/17721 Tested-by: jenkins-iotivity Reviewed-by: Phil Coval Reviewed-by: JungYong KIM Reviewed-by: Uze Choi --- diff --git a/service/notification/src/common/NSConstants.h b/service/notification/src/common/NSConstants.h index 01d4a29..7ef3408 100644 --- a/service/notification/src/common/NSConstants.h +++ b/service/notification/src/common/NSConstants.h @@ -45,8 +45,8 @@ #define NS_LOG_V(level, format, ...) (dlog_print(NS_CONVERT_LEVEL(level), LOG_TAG, (format), __VA_ARGS__)) #define NS_LOG(level, msg) (dlog_print(NS_CONVERT_LEVEL(level), LOG_TAG, (msg))) #else // __TIZEN__ -#define NS_LOG_V(level, format, ...) (OIC_LOG_V((level), __NS_FILE__, (format), __VA_ARGS__)) -#define NS_LOG(level, msg) (OIC_LOG((level), __NS_FILE__, (msg))) +#define NS_LOG_V(level, format, ...) OIC_LOG_V((level), __NS_FILE__, (format), __VA_ARGS__) +#define NS_LOG(level, msg) OIC_LOG((level), __NS_FILE__, (msg)) #endif // __TIZEN__ #else // TB_LOG #if (__PRINTLOG == 1)