From 41a55ffe795c7507def0dbe61ae87c9633c13833 Mon Sep 17 00:00:00 2001 From: jiaxinwu Date: Wed, 8 Jul 2015 13:41:09 +0000 Subject: [PATCH 1/1] 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 --- ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c | 3 --- 1 file changed, 3 deletions(-) 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); } -- 2.39.2