ShellPkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the ShellPkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
c411b485b6
commit
47d20b54f9
@ -19,10 +19,10 @@
|
||||
**/
|
||||
EFI_EDITOR_LINE *
|
||||
LineDup (
|
||||
IN EFI_EDITOR_LINE *Src
|
||||
IN EFI_EDITOR_LINE *Src
|
||||
)
|
||||
{
|
||||
EFI_EDITOR_LINE *Dest;
|
||||
EFI_EDITOR_LINE *Dest;
|
||||
|
||||
//
|
||||
// allocate for the line structure
|
||||
@ -31,6 +31,7 @@ LineDup (
|
||||
if (Dest == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
//
|
||||
// allocate and set the line buffer
|
||||
//
|
||||
@ -59,26 +60,16 @@ LineDup (
|
||||
**/
|
||||
VOID
|
||||
LineFree (
|
||||
IN EFI_EDITOR_LINE *Src
|
||||
IN EFI_EDITOR_LINE *Src
|
||||
)
|
||||
{
|
||||
if (Src == NULL) {
|
||||
return ;
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
// free the line buffer and then the line structure itself
|
||||
//
|
||||
SHELL_FREE_NON_NULL (Src->Buffer);
|
||||
SHELL_FREE_NON_NULL (Src);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user