diff --git a/interfaces/native/kits/hilog_lite/hiview_log.h b/interfaces/native/kits/hilog_lite/hiview_log.h index 90892e22893c8c6890b4e93d883c6757407201a5..bd52f9c226ecc64d33c7730880a78c7882c2df02 100755 --- a/interfaces/native/kits/hilog_lite/hiview_log.h +++ b/interfaces/native/kits/hilog_lite/hiview_log.h @@ -66,7 +66,7 @@ extern const char * const FUN_ARG_S; #define FUN_ARG_NUM_(...) FUN_ARG_EX(__VA_ARGS__) #define FUN_ARG_EX(_0, _1, _2, _3, _4, _5, _6, N, ...) N #define FUN_ARG_EX_() FUN_ARG_6, FUN_ARG_5, FUN_ARG_4, FUN_ARG_3, FUN_ARG_2, FUN_ARG_1, FUN_ARG_0 -#define ARGS_CHECK(N) (TRUE ? N : FUN_ARG_I) +#define ARGS_CHECK(N) (N) #define HILOG_LV_INVALID 0 #define HILOG_LV_DEBUG 1