fix warning: 'return' with a value, in function returning void
Signed-off-by: wangziyi0929 <915619048@qq.com>
This commit is contained in:
parent
ffa868a81c
commit
3508110f6d
|
@ -55,7 +55,7 @@ static VOID TaskF01(VOID)
|
|||
atomicRet = LOS_AtomicAdd(&atomicTestCounter, 0x77777777);
|
||||
ICUNIT_ASSERT_EQUAL_VOID(atomicRet, 0x22222221, atomicRet);
|
||||
readCounter = LOS_AtomicRead(&atomicTestCounter);
|
||||
ICUNIT_ASSERT_EQUAL(readCounter, 0x22222221, readCounter);
|
||||
ICUNIT_ASSERT_EQUAL_VOID(readCounter, 0x22222221, readCounter);
|
||||
|
||||
LOS_AtomicSet(&atomicTestCounter, 0xdddddddd);
|
||||
atomicRet = LOS_AtomicSub(&atomicTestCounter, 0x99999999);
|
||||
|
|
Loading…
Reference in New Issue