]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg: Remove Status definition in function scope
authorjiaxinwu <jiaxin.wu@intel.com>
Wed, 8 Jul 2015 13:41:09 +0000 (13:41 +0000)
committerjiaxinwu <jiaxinwu@Edk2>
Wed, 8 Jul 2015 13:41:09 +0000 (13:41 +0000)
that are assigned but never used afterwards.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: jiaxinwu <jiaxin.wu@intel.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17888 6f19259b-4bc3-4df7-8a09-765794883524

ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c

index 6977d6b67fdd28e09dc1dc19633205e38f6db2fc..df19a9f90240a20d6f39ef0238d1aa2b327640bb 100644 (file)
@@ -517,15 +517,12 @@ IfConfigShowInterfaceInfo (
   IN LIST_ENTRY    *IfList\r
   )\r
 {\r
-  EFI_STATUS                Status;\r
   LIST_ENTRY                *Entry;\r
   LIST_ENTRY                *Next;\r
   IFCONFIG_INTERFACE_CB     *IfCb;\r
   EFI_IPv4_ADDRESS          Gateway;\r
   UINT32                    Index;\r
 \r
-  Status = EFI_SUCCESS;\r
-\r
   if (IsListEmpty (IfList)) {\r
     ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_IFCONFIG_INVALID_INTERFACE), gShellNetwork1HiiHandle);\r
   }\r