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:
parent
a5e651cb01
commit
b35792fa6c
|
@ -245,7 +245,7 @@ extern void ICunitSaveErr(iiUINT32 line, iiUINT32 retCode);
|
||||||
do { \
|
do { \
|
||||||
if ((param) != (value)) { \
|
if ((param) != (value)) { \
|
||||||
ICunitSaveErr(__LINE__, (iiUINT32)retcode); \
|
ICunitSaveErr(__LINE__, (iiUINT32)retcode); \
|
||||||
return 1; \
|
return; \
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue