mirror of https://github.com/acidanthera/audk.git
remove unused variable.
add some parens. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11457 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
b36653bc16
commit
16751bb43d
|
@ -108,7 +108,6 @@ STATIC UINT16 mLeft[2 * NC - 1];
|
|||
STATIC UINT16 mRight[2 * NC - 1];
|
||||
STATIC UINT16 mCrcTable[UINT8_MAX + 1];
|
||||
STATIC UINT16 mCFreq[2 * NC - 1];
|
||||
STATIC UINT16 mCTable[4096];
|
||||
STATIC UINT16 mCCode[NC];
|
||||
STATIC UINT16 mPFreq[2 * NP - 1];
|
||||
STATIC UINT16 mPTCode[NPT];
|
||||
|
|
|
@ -1657,9 +1657,9 @@ ShellCommandRunIfconfig (
|
|||
ListOperation = ShellCommandLineGetFlag(Package, L"-l");
|
||||
SetOperation = ShellCommandLineGetFlag(Package, L"-s");
|
||||
|
||||
if (ClearOperation && ListOperation
|
||||
||SetOperation && ListOperation
|
||||
||ClearOperation && SetOperation
|
||||
if ((ClearOperation && ListOperation)
|
||||
||(SetOperation && ListOperation)
|
||||
||(ClearOperation && SetOperation)
|
||||
) {
|
||||
ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_GEN_PARAM_CON), gShellNetwork1HiiHandle);
|
||||
ShellStatus = SHELL_INVALID_PARAMETER;
|
||||
|
|
Loading…
Reference in New Issue