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
This commit is contained in:
@ -517,15 +517,12 @@ IfConfigShowInterfaceInfo (
|
|||||||
IN LIST_ENTRY *IfList
|
IN LIST_ENTRY *IfList
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
EFI_STATUS Status;
|
|
||||||
LIST_ENTRY *Entry;
|
LIST_ENTRY *Entry;
|
||||||
LIST_ENTRY *Next;
|
LIST_ENTRY *Next;
|
||||||
IFCONFIG_INTERFACE_CB *IfCb;
|
IFCONFIG_INTERFACE_CB *IfCb;
|
||||||
EFI_IPv4_ADDRESS Gateway;
|
EFI_IPv4_ADDRESS Gateway;
|
||||||
UINT32 Index;
|
UINT32 Index;
|
||||||
|
|
||||||
Status = EFI_SUCCESS;
|
|
||||||
|
|
||||||
if (IsListEmpty (IfList)) {
|
if (IsListEmpty (IfList)) {
|
||||||
ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_IFCONFIG_INVALID_INTERFACE), gShellNetwork1HiiHandle);
|
ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_IFCONFIG_INVALID_INTERFACE), gShellNetwork1HiiHandle);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user