summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Workspace/BuildClassObject.py
diff options
context:
space:
mode:
authorPierre Gondois <pierre.gondois@arm.com>2026-06-04 12:16:44 +0300
committerArd Biesheuvel <ardb@kernel.org>2026-08-04 10:35:35 +0300
commitda181122b1640e603c668ef6e10e1aec9e1ca47d (patch)
tree791137a22f3174c053b925269e484589efaf66fa /BaseTools/Source/Python/Workspace/BuildClassObject.py
parentd23559e847f41d9c8fa69cb801a31a9ffda9baa1 (diff)
downloadedk2-da181122b1640e603c668ef6e10e1aec9e1ca47d.tar.xz
ShellPkg/UefiShellDebug1: Return if ShellCommandLineParse() failed (3/4)
This patch aims to help breaking down the long functions present in the ShellPkg and reduce complexity/nested code and conditions. Return directly if ShellCommandLineParse() returned an error Status. In such case, the "Package" that should be allocated by ShellCommandLineParse() is already freed in: ShellCommandLineParse() \-ShellCommandLineParseEx() \-InternalCommandLineParse() so there is no need to free it with ShellCommandLineFreeVarList(). To avoid having one large commit updating all the UefiShellDebug1 commands, only update these files: - MemMap.c - Mm.c - Mode.c - Pci.c No functional change should be induced by this patch. Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/BuildClassObject.py')
0 files changed, 0 insertions, 0 deletions