From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web10.17947.1636948563942209004 for ; Sun, 14 Nov 2021 19:56:05 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=RkkH6UNI; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=0953f1bc5c=abner.chang@hpe.com) Received: from pps.filterd (m0150241.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1AEM1xTL026137; Mon, 15 Nov 2021 03:56:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pps0720; bh=8hKWXcCKsEr1ALsF98eNPi53QSQcVP7YDg5mTS8hjFU=; b=RkkH6UNICpHeUbUjoY+My4IN1fDE+eb710AY/7mT/hdmzXaNCtRZ9IzgtJ64gL9YjsE8 qBkRXzE/qXVUGB4qFlzsRbSI/hBIxWB1DYdN1OhhgOKctAE6N/SXpjBSj2L9O6LilTsw grg4kcAgW21eDNLjDeDBFhSoslpMuMspGnvOUxfK4Swft3Xy1VgwhYW155eqWg//5ikR k53xWAQgD+UcNZpRgG9FwuE06Ad/iz1vU3XGOdQgAMqKKZNiLyvtuk1ijeE2OAvZOgVZ TgFmpNHTKo2EdYi90z+hxd2Xm1sVTJlurw/XUXNrxhe1eemETEynmm53JuEEgIJj5T6l bw== Received: from g2t2352.austin.hpe.com (g2t2352.austin.hpe.com [15.233.44.25]) by mx0a-002e3701.pphosted.com with ESMTP id 3ca3wr3r59-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 15 Nov 2021 03:56:03 +0000 Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2352.austin.hpe.com (Postfix) with ESMTP id D787963; Mon, 15 Nov 2021 03:56:02 +0000 (UTC) Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id BDD0439; Mon, 15 Nov 2021 03:56:01 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com, Daniel Schaefer , Sunil V L Subject: [edk2-platforms][PATCH 14/14] Platform/RISC-V: Initialize variable to zero Date: Mon, 15 Nov 2021 10:56:40 +0800 Message-Id: <20211115025640.12897-15-abner.chang@hpe.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211115025640.12897-1-abner.chang@hpe.com> References: <20211115025640.12897-1-abner.chang@hpe.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: GSVlhNOJ0ZkIbpp56ebqnhLoRO9Q_eCj X-Proofpoint-GUID: GSVlhNOJ0ZkIbpp56ebqnhLoRO9Q_eCj X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-15_02,2021-11-12_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 spamscore=0 clxscore=1015 mlxlogscore=960 impostorscore=0 bulkscore=0 suspectscore=0 lowpriorityscore=0 mlxscore=0 phishscore=0 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2111150021 Content-Transfer-Encoding: quoted-printable Initialize variable NumberOfPlatformInArray to 0. Signed-off-by: Abner Chang Cc: Daniel Schaefer Cc: Sunil V L --- .../RiscVSpecialPlatformLibNull/RiscVSpecialPlatformLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/RISC-V/PlatformPkg/Library/RiscVSpecialPlatformLibNul= l/RiscVSpecialPlatformLib.c b/Platform/RISC-V/PlatformPkg/Library/RiscVSpec= ialPlatformLibNull/RiscVSpecialPlatformLib.c index 18c152001c..f64bde4535 100644 --- a/Platform/RISC-V/PlatformPkg/Library/RiscVSpecialPlatformLibNull/RiscV= SpecialPlatformLib.c +++ b/Platform/RISC-V/PlatformPkg/Library/RiscVSpecialPlatformLibNull/RiscV= SpecialPlatformLib.c @@ -16,5 +16,5 @@ =0D const struct platform_override *special_platforms =3D NULL;=0D const struct platform_override *SpecialPlatformArray =3D NULL;=0D -INTN NumberOfPlaformsInArray;=0D +INTN NumberOfPlaformsInArray =3D 0;=0D =0D --=20 2.31.1