From b35792fa6cc8f2430dbe9819f0f7fd8e399ecfd6 Mon Sep 17 00:00:00 2001 From: zhumingxian Date: Thu, 19 May 2022 20:59:50 +0800 Subject: [PATCH] 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 --- testsuites/include/iCunit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuites/include/iCunit.h b/testsuites/include/iCunit.h index 72d8f23d..9a7b3bcc 100644 --- a/testsuites/include/iCunit.h +++ b/testsuites/include/iCunit.h @@ -245,7 +245,7 @@ extern void ICunitSaveErr(iiUINT32 line, iiUINT32 retCode); do { \ if ((param) != (value)) { \ ICunitSaveErr(__LINE__, (iiUINT32)retcode); \ - return 1; \ + return; \ } \ } while (0)