public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [PATCH v2 0/1] ShellPkg: Tidy for code readability
@ 2023-11-29 18:28 Daniel Nguyen
  2023-11-29 18:28 ` [edk2-devel] [PATCH v2 1/1] " Daniel Nguyen
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Nguyen @ 2023-11-29 18:28 UTC (permalink / raw)
  To: devel; +Cc: nd, Daniel Nguyen

Use error handling instead of success handling.
Less indented logic is easier to read.

Daniel Nguyen (1):
  ShellPkg: Tidy for code readability

 ShellPkg/Library/UefiShellLevel2CommandsLib/Reset.c | 41 +++++++++++---------
 1 file changed, 23 insertions(+), 18 deletions(-)

--
2.25.1



-=-=-=-=-=-=-=-=-=-=-=-
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]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-12-14  2:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-29 18:28 [edk2-devel] [PATCH v2 0/1] ShellPkg: Tidy for code readability Daniel Nguyen
2023-11-29 18:28 ` [edk2-devel] [PATCH v2 1/1] " Daniel Nguyen
2023-12-13 11:45   ` Tom Pilar
2023-12-14  2:51     ` Gao, Zhichao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox