]> git.proxmox.com Git - mirror_edk2.git/commitdiff
remove unused variable.
authorjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 30 Mar 2011 16:12:42 +0000 (16:12 +0000)
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 30 Mar 2011 16:12:42 +0000 (16:12 +0000)
add some parens.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11457 6f19259b-4bc3-4df7-8a09-765794883524

ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.c
ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c

index 870335b9a1403476e4a6358006a522ccbc8fccac..afe3ec08582a489630c49bfbeb5aa7f9f8e19533 100644 (file)
@@ -108,7 +108,6 @@ STATIC UINT16 mLeft[2 * NC - 1];
 STATIC UINT16 mRight[2 * NC - 1];\r
 STATIC UINT16 mCrcTable[UINT8_MAX + 1];\r
 STATIC UINT16 mCFreq[2 * NC - 1];\r
-STATIC UINT16 mCTable[4096];\r
 STATIC UINT16 mCCode[NC];\r
 STATIC UINT16 mPFreq[2 * NP - 1];\r
 STATIC UINT16 mPTCode[NPT];\r
index 2e8a09fc339f8cf6a3702ccc0f9082698a207a11..94c9c021acf351122e558019faf014a0cb585d1b 100644 (file)
@@ -1657,9 +1657,9 @@ ShellCommandRunIfconfig (
   ListOperation  = ShellCommandLineGetFlag(Package, L"-l");\r
   SetOperation   = ShellCommandLineGetFlag(Package, L"-s");\r
 \r
-  if (ClearOperation && ListOperation \r
-    ||SetOperation   && ListOperation \r
-    ||ClearOperation && SetOperation \r
+  if ((ClearOperation && ListOperation)\r
+    ||(SetOperation   && ListOperation)\r
+    ||(ClearOperation && SetOperation)\r
     ) {\r
     ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_GEN_PARAM_CON), gShellNetwork1HiiHandle);\r
     ShellStatus = SHELL_INVALID_PARAMETER;\r