From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id D83A1740039 for ; Wed, 29 Nov 2023 18:29:12 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=4RBSRTL/PafRNUKf3jYqGyJ3A4ueyBShOhAor2FNUv4=; 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=1701282551; v=1; b=rtkNQryrW7MYNjXg0ipnblv7PChaH/3zM/jTEQZC0nBFEzGClgP/D31xN5DxNXdWpeuLNhpV zP3s2v85Gb87ip2uVRYZAlt2wAIMv3yutgyBaGF1Cj9kSpU94nHfRJPBJcasF4Nntn1hDgeVZpX zid0bwbL/3n1Wa69je3iGHMs= X-Received: by 127.0.0.2 with SMTP id IXXyYY7687511xgspUuRbDXd; Wed, 29 Nov 2023 10:29:11 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.45861.1701282550521471949 for ; Wed, 29 Nov 2023 10:29:10 -0800 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 214E5C15; Wed, 29 Nov 2023 10:29:57 -0800 (PST) X-Received: from u102865.austin.arm.com (u102865.arm.com [10.118.16.53]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id F07EB3F5A1; Wed, 29 Nov 2023 10:29:09 -0800 (PST) From: "Daniel Nguyen" To: devel@edk2.groups.io Cc: nd@arm.com, Daniel Nguyen Subject: [edk2-devel] [PATCH v2 0/1] ShellPkg: Tidy for code readability Date: Wed, 29 Nov 2023 12:28:39 -0600 Message-Id: <20231129182840.2333098-1-daniel.nguyen@arm.com> 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,daniel.nguyen@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: a7ULCMwqwzv9N6kIviOtZBWmx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=rtkNQryr; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Use error handling instead of success handling.=0D Less indented logic is easier to read.=0D =0D Daniel Nguyen (1):=0D ShellPkg: Tidy for code readability=0D =0D ShellPkg/Library/UefiShellLevel2CommandsLib/Reset.c | 41 +++++++++++------= ---=0D 1 file changed, 23 insertions(+), 18 deletions(-)=0D =0D --=0D 2.25.1=0D =0D -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#111855): https://edk2.groups.io/g/devel/message/111855 Mute This Topic: https://groups.io/mt/102877863/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-