diff options
author | jiaxinwu <jiaxin.wu@intel.com> | 2015-07-08 13:41:09 +0000 |
---|---|---|
committer | jiaxinwu <jiaxinwu@Edk2> | 2015-07-08 13:41:09 +0000 |
commit | 41a55ffe795c7507def0dbe61ae87c9633c13833 (patch) | |
tree | 604a3fbc8966a434a453daa87029ac40261ab80c /ShellPkg | |
parent | c960bdc2dcfad4ececbe208fbe3a25adea6dceea (diff) | |
download | edk2-platforms-41a55ffe795c7507def0dbe61ae87c9633c13833.tar.xz |
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 <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
Diffstat (limited to 'ShellPkg')
-rw-r--r-- | ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c | 3 |
1 files changed, 0 insertions, 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);
}
|