mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
This patch aims to help breaking down the long function 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(). No functional change should be induced by this patch. Signed-off-by: Pierre Gondois <pierre.gondois@arm.com> |
||
|---|---|---|
| .. | ||
| Exit.c | ||
| For.c | ||
| Goto.c | ||
| If.c | ||
| Shift.c | ||
| Stall.c | ||
| UefiShellLevel1CommandsLib.c | ||
| UefiShellLevel1CommandsLib.h | ||
| UefiShellLevel1CommandsLib.inf | ||
| UefiShellLevel1CommandsLib.uni | ||