From nobody Thu May 16 14:24:29 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+107934+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+107934+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1692648303; cv=none; d=zohomail.com; s=zohoarc; b=ZYrgSty1QCt5rmJ1IrOIAgJz4q43JEJX33IYM86PiMvEnFVk01Lbo3wj2jYr1IMaVuyRAicarJDjKLPvJ4yGej1RH955EIB8P0LW5eYwEwU3ymGXXL6GLl3At5Vyv58hjm48tD4M3hBijR7Ts71UgZ76yt7qbq1KAGqTxcCUlew= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1692648303; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=TUdmsabU2EGzCH9mX298YHzmuU1QDEtFt54wNAXvLQQ=; b=ekBERRt2YV9pFdbsmN1q5Ctb9xC9VX+ziLaXoCoLY9saul+CV44irreke1RpM/FzMGeGViDA8kPSiYPKoLN84P01mAIY+vSJuOgVde27E+rt6hVbONxTr+9McgHcxLLDjOk/VPWftujqQJWvXmtdHemEjzt1k0IPaJOeLSHDJvM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+107934+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1692648303632519.114192259414; Mon, 21 Aug 2023 13:05:03 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=RVVOssa30MUfm1EawRFVyYyCt1eJP9ZaUE3T7Rd2Ab8=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1692648303; v=1; b=aEi4NAMOimB9E0ok4kCyWSczcsK+N0uo9OitKbPw5+It/ELou+M8Vn/1NgLJP/+q9Zc34teP F+PQK9CgZakxfS4+it/Fq4DiNMkIQg2nqWgq7PrugD6dnpGPYRP8HOTh7t14kWkVEhKu+LcdGBM xE5gHOWmkjj8k3ykxcCPJDyc= X-Received: by 127.0.0.2 with SMTP id NJ1iYY1788612xvwAZGj77ze; Mon, 21 Aug 2023 13:05:03 -0700 X-Received: from smtp26.services.sfr.fr (smtp26.services.sfr.fr [93.17.128.214]) by mx.groups.io with SMTP id smtpd.web11.1105.1692639747527886380 for ; Mon, 21 Aug 2023 10:42:28 -0700 X-mail-filterd: {"version":"1.7.1","queueID":"4RV0DK5nGMz1LQKd5","contextId": "a1cd781c-2ab3-49af-bc06-e0655f94abcf"} X-Received: from localhost.localdomain (179.211.201.77.rev.sfr.net [77.201.211.179]) by msfrf2638.sfr.fr (SMTP Server) with ESMTP id 4RV0DK5nGMz1LQKd5; Mon, 21 Aug 2023 19:42:25 +0200 (CEST) X-mail-filterd: {"version":"1.7.1","queueID":"4RV0DK4jTVz1LQKct","contextId": "b9857919-0980-4e48-ad1d-358cc035d21e"} X-sfr-mailing: LEGIT X-sfr-spamrating: 40 X-sfr-spam: not-spam X-Received: from localhost.localdomain (179.211.201.77.rev.sfr.net [77.201.211.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: ehaouas@noos.fr) by msfrf2638.sfr.fr (SMTP Server) with ESMTPSA id 4RV0DK4jTVz1LQKct; Mon, 21 Aug 2023 19:42:25 +0200 (CEST) From: Elyes Haouas To: devel@edk2.groups.io Cc: Elyes Haouas Subject: [edk2-devel] [PATCH] BaseTools: Use only 1 semicolon at end of statement Date: Mon, 21 Aug 2023 19:42:14 +0200 Message-Id: <20230821174214.10337-1-ehaouas@noos.fr> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ehaouas@noos.fr List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: A3MJlQxAN65zDSurXQBOlaoDx1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1692648304248100002 Content-Type: text/plain; charset="utf-8" Signed-off-by: Elyes Haouas --- BaseTools/Source/C/DevicePath/DevicePathUtilities.c | 2 +- BaseTools/Source/C/GenFw/GenFw.c | 2 +- BaseTools/Source/C/LzmaCompress/Sdk/C/LzmaDec.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BaseTools/Source/C/DevicePath/DevicePathUtilities.c b/BaseTool= s/Source/C/DevicePath/DevicePathUtilities.c index 49078aac8c..c4f559517b 100644 --- a/BaseTools/Source/C/DevicePath/DevicePathUtilities.c +++ b/BaseTools/Source/C/DevicePath/DevicePathUtilities.c @@ -594,7 +594,7 @@ UefiDevicePathLibAppendDevicePathInstance ( NewDevicePath =3D AllocatePool (SrcSize + InstanceSize); if (NewDevicePath !=3D NULL) { =20 - TempDevicePath =3D memcpy (NewDevicePath, DevicePath, SrcSize);; + TempDevicePath =3D memcpy (NewDevicePath, DevicePath, SrcSize); =20 while (!IsDevicePathEnd (TempDevicePath)) { TempDevicePath =3D NextDevicePathNode (TempDevicePath); diff --git a/BaseTools/Source/C/GenFw/GenFw.c b/BaseTools/Source/C/GenFw/Ge= nFw.c index 0289c8ef8a..9e5e5a49a3 100644 --- a/BaseTools/Source/C/GenFw/GenFw.c +++ b/BaseTools/Source/C/GenFw/GenFw.c @@ -207,7 +207,7 @@ Returns: It can't be combined with other action options\n\ except for -o, -r option. It is a action option.\n\ If it is combined with other action options, the l= ater\n\ - input action option will override the previous one= .\n");; + input action option will override the previous one= .\n"); fprintf (stdout, " -l, --stripped Strip off the relocation info = from PE or TE image.\n\ It can't be combined with other action options\n\ except for -o, -r option. It is a action option.\n\ diff --git a/BaseTools/Source/C/LzmaCompress/Sdk/C/LzmaDec.c b/BaseTools/So= urce/C/LzmaCompress/Sdk/C/LzmaDec.c index 4d1576419f..97340482be 100644 --- a/BaseTools/Source/C/LzmaCompress/Sdk/C/LzmaDec.c +++ b/BaseTools/Source/C/LzmaCompress/Sdk/C/LzmaDec.c @@ -1138,7 +1138,7 @@ SRes LzmaDec_Allocate(CLzmaDec *p, const Byte *props,= unsigned propsSize, ISzAll UInt32 dictSize =3D propNew.dicSize; SizeT mask =3D ((UInt32)1 << 12) - 1; if (dictSize >=3D ((UInt32)1 << 30)) mask =3D ((UInt32)1 << 22) -= 1; - else if (dictSize >=3D ((UInt32)1 << 22)) mask =3D ((UInt32)1 << 20) -= 1;; + else if (dictSize >=3D ((UInt32)1 << 22)) mask =3D ((UInt32)1 << 20) -= 1; dicBufSize =3D ((SizeT)dictSize + mask) & ~mask; if (dicBufSize < dictSize) dicBufSize =3D dictSize; --=20 2.40.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#107934): https://edk2.groups.io/g/devel/message/107934 Mute This Topic: https://groups.io/mt/100880849/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-