]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c
remove unused variable.
[mirror_edk2.git] / ShellPkg / Library / UefiShellNetwork1CommandsLib / Ifconfig.c
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