diff --git a/testsuites/unittest/libc/posix/mqueue/full/It_posix_queue_209.cpp b/testsuites/unittest/libc/posix/mqueue/full/It_posix_queue_209.cpp index 71de8aa81d83a3fe19f2bb635d193c3efc4583e1..4a8e53fc6fa0d7e70781fc89706440463fcfc82a 100644 --- a/testsuites/unittest/libc/posix/mqueue/full/It_posix_queue_209.cpp +++ b/testsuites/unittest/libc/posix/mqueue/full/It_posix_queue_209.cpp @@ -41,7 +41,7 @@ static VOID *Pthread(VOID *temp) CHAR msgrcd[MQUEUE_STANDARD_NAME_LENGTH] = {0}; g_cnt = 1; - (void *)(temp); + (void)(temp); ret = mq_receive(g_mqueue, msgrcd, MQUEUE_STANDARD_NAME_LENGTH, nullptr); ICUNIT_GOTO_EQUAL(ret, MQUEUE_SHORT_ARRAY_LENGTH, ret, EXIT); ICUNIT_GOTO_STRING_EQUAL(msgrcd, MQUEUE_SEND_STRING_TEST, msgrcd, EXIT);