]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg Shell: Remove an unused global variable
authorshenglei <shenglei.zhang@intel.com>
Fri, 7 Sep 2018 01:52:21 +0000 (09:52 +0800)
committerLaszlo Ersek <lersek@redhat.com>
Fri, 7 Sep 2018 11:10:14 +0000 (13:10 +0200)
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 <jaben.carsey@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei <shenglei.zhang@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
ShellPkg/Application/Shell/Shell.c

index 397cfd19949050bc6d2a3662f1fe2d8bdf9221ab..3f3bcbb4b0ec6b9ae31c03df7b8387b137023794 100644 (file)
@@ -2750,9 +2750,6 @@ RunCommand(
   return (RunShellCommand(CmdLine, NULL));\r
 }\r
 \r
   return (RunShellCommand(CmdLine, NULL));\r
 }\r
 \r
-\r
-STATIC CONST UINT16 InvalidChars[] = {L'*', L'?', L'<', L'>', L'\\', L'/', L'\"', 0x0001, 0x0002};\r
-\r
 /**\r
   Function to process a NSH script file via SHELL_FILE_HANDLE.\r
 \r
 /**\r
   Function to process a NSH script file via SHELL_FILE_HANDLE.\r
 \r