From 55419653654a6dca0fabafe21ad7ef88e1a4bd35 Mon Sep 17 00:00:00 2001 From: yinjiaming Date: Fri, 9 Sep 2022 15:28:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E4=B8=AD=E5=87=BD=E6=95=B0=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E5=80=BC=E7=9A=84=E9=97=AE=E9=A2=98=20=E3=80=90=E8=83=8C?= =?UTF-8?q?=E6=99=AF=E3=80=91=20=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E4=B8=AD=E6=9C=89=E5=87=BD=E6=95=B0=E7=9A=84=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E5=80=BC=E4=B8=8D=E6=AD=A3=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 【修改方案】 将返回值为VOID *的函数的返回值改为 retrun NULL 【影响】 对现有的产品编译不会有影响。 re #I5O3LH Signed-off-by: yinjiaming Change-Id: I6d3ce9efbe9afe14b1e9dd12538b80e69928fd71 --- .../process/basic/pthread/smoke/pthread_test_015.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/testsuites/unittest/process/basic/pthread/smoke/pthread_test_015.cpp b/testsuites/unittest/process/basic/pthread/smoke/pthread_test_015.cpp index 84992367..4eb42af5 100644 --- a/testsuites/unittest/process/basic/pthread/smoke/pthread_test_015.cpp +++ b/testsuites/unittest/process/basic/pthread/smoke/pthread_test_015.cpp @@ -30,7 +30,10 @@ */ #include "it_pthread_test.h" -static VOID *PthreadTest115(VOID *arg) {} +static VOID *PthreadTest115(VOID *arg) +{ + return NULL; +} static int GroupProcess(void) { -- GitLab