diff options
author | shenglei <shenglei.zhang@intel.com> | 2018-09-07 09:52:21 +0800 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2018-09-07 13:10:14 +0200 |
commit | 98257f9820723d81d57548fb193afe41c3da179c (patch) | |
tree | f1e78e7300fbad4f53f93a85840320d6bd4e99b6 /ShellPkg/Application | |
parent | c4709260f62f531eed83673104c7ecd7b6e665b7 (diff) | |
download | edk2-98257f9820723d81d57548fb193afe41c3da179c.tar.gz |
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 <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>
Diffstat (limited to 'ShellPkg/Application')
-rw-r--r-- | ShellPkg/Application/Shell/Shell.c | 3 |
1 files changed, 0 insertions, 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.
|