Reviewed-by: Ruiyu Ni <[email protected]> Thanks/Ray
> -----Original Message----- > From: edk2-devel <[email protected]> On Behalf Of shenglei > Sent: Friday, September 7, 2018 9:52 AM > To: [email protected] > Cc: Carsey, Jaben <[email protected]>; Ni, Ruiyu <[email protected]> > Subject: [edk2] [PATCH] ShellPkg Shell: Remove an unused global variable > > The unused global variable InvalidChars is removed. > It is only used in the function IsValidCommandName which was removed > previously. > https://bugzilla.tianocore.org/show_bug.cgi?id=1066 > > Cc: Jaben Carsey <[email protected]> > Cc: Ruiyu Ni <[email protected]> > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: shenglei <[email protected]> > --- > ShellPkg/Application/Shell/Shell.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/ShellPkg/Application/Shell/Shell.c > b/ShellPkg/Application/Shell/Shell.c > index 397cfd1994..3f3bcbb4b0 100644 > --- a/ShellPkg/Application/Shell/Shell.c > +++ b/ShellPkg/Application/Shell/Shell.c > @@ -2750,9 +2750,6 @@ RunCommand( > return (RunShellCommand(CmdLine, NULL)); } > > - > -STATIC CONST UINT16 InvalidChars[] = {L'*', L'?', L'<', L'>', L'\\', L'/', > L'\"', > 0x0001, 0x0002}; > - > /** > Function to process a NSH script file via SHELL_FILE_HANDLE. > > -- > 2.18.0.windows.1 > > _______________________________________________ > edk2-devel mailing list > [email protected] > https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

