From 315a448142f4bf394b1de527b7594d053520be19 Mon Sep 17 00:00:00 2001 From: zhumingxian Date: Thu, 19 May 2022 21:28:46 +0800 Subject: [PATCH] fix: fix warning: 'PthreadFuncTestSuiteTearDown' defined but not used fix warning: 'PthreadFuncTestSuiteTearDown' defined but not used fix warning: 'PthreadFuncTestSuiteSetUp' defined but not used close #I58COM Signed-off-by: zhumingxian --- testsuites/sample/posix/pthread_func_test.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/testsuites/sample/posix/pthread_func_test.c b/testsuites/sample/posix/pthread_func_test.c index 8ee556e3..46106521 100644 --- a/testsuites/sample/posix/pthread_func_test.c +++ b/testsuites/sample/posix/pthread_func_test.c @@ -49,25 +49,6 @@ static INT32 g_pthreadSem = 0; #define Level1 0 #define LITE_TEST_CASE(module, function, flag) static int function(void) -/** - * @tc.setup : setup for all testcases - * @return : setup result, TRUE is success, FALSE is fail - */ -static BOOL PthreadFuncTestSuiteSetUp(void) -{ - return TRUE; -} - -/** - * @tc.teardown : teardown for all testcases - * @return : teardown result, TRUE is success, FALSE is fail - */ -static BOOL PthreadFuncTestSuiteTearDown(void) -{ - printf("+-------------------------------------------+\n"); - return TRUE; -} - static VOID *PthreadJoinF01(void *argument) { g_testCount++;