From: jiaxinwu Date: Wed, 8 Jul 2015 13:41:09 +0000 (+0000) Subject: ShellPkg: Remove Status definition in function scope X-Git-Tag: edk2-stable201903~9387 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=41a55ffe795c7507def0dbe61ae87c9633c13833;ds=sidebyside ShellPkg: Remove Status definition in function scope that are assigned but never used afterwards. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: jiaxinwu Reviewed-by: Ard Biesheuvel git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17888 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c index 6977d6b67f..df19a9f902 100644 --- a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c +++ b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c @@ -517,15 +517,12 @@ IfConfigShowInterfaceInfo ( IN LIST_ENTRY *IfList ) { - EFI_STATUS Status; LIST_ENTRY *Entry; LIST_ENTRY *Next; IFCONFIG_INTERFACE_CB *IfCb; EFI_IPv4_ADDRESS Gateway; UINT32 Index; - Status = EFI_SUCCESS; - if (IsListEmpty (IfList)) { ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_IFCONFIG_INVALID_INTERFACE), gShellNetwork1HiiHandle); }