summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Workspace/MetaFileCommentParser.py
diff options
context:
space:
mode:
authorPierre Gondois <pierre.gondois@arm.com>2026-06-04 12:15:37 +0300
committerArd Biesheuvel <ardb@kernel.org>2026-08-04 10:35:35 +0300
commit7ee84dc437ec4df895ebe69a08352e3c13e99f17 (patch)
treed898e3be384d931e161fed3032fa60cc6766a1d8 /BaseTools/Source/Python/Workspace/MetaFileCommentParser.py
parent4e1e7393384987244fdb824e80be24db2468da29 (diff)
downloadedk2-7ee84dc437ec4df895ebe69a08352e3c13e99f17.tar.xz
ShellPkg/UefiShellDebug1: Return if ShellCommandLineParse() failed (1/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: - Comp.c - Cxl.c - Dblk.c - Dmem.c - DmpStore.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/MetaFileCommentParser.py')
0 files changed, 0 insertions, 0 deletions