fix: fix warning while compiling test suites

fix testsuites/include/iCunit.h:248:20: warning: 'return' with a value, in function returning void

close #I58CM9

Signed-off-by: zhumingxian <zhumingxian@ohos.com.cn>
This commit is contained in:
zhumingxian 2022-05-19 20:59:50 +08:00
parent a5e651cb01
commit b35792fa6c
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ extern void ICunitSaveErr(iiUINT32 line, iiUINT32 retCode);
do { \
if ((param) != (value)) { \
ICunitSaveErr(__LINE__, (iiUINT32)retcode); \
return 1; \
return; \
} \
} while (0)