summaryrefslogtreecommitdiff
path: root/ShellPkg
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2010-09-20 07:03:51 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2010-09-20 07:03:51 +0000
commit7effcbff2953172b63d9416f8785be7a5bc5c015 (patch)
treed30108e40220b76d6910f9f1d9f88c3e703640ac /ShellPkg
parent80448f6c1aed17ee0fbfa79bab7e7b8eeb2eb084 (diff)
downloadedk2-platforms-7effcbff2953172b63d9416f8785be7a5bc5c015.tar.xz
ShellPkg: Fix "unreachable code" warning with VS2005
Since all paths of the switch block now return, it is not possible to reach the code following the switch block. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10894 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg')
-rw-r--r--ShellPkg/Library/UefiShellLevel1CommandsLib/If.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ShellPkg/Library/UefiShellLevel1CommandsLib/If.c b/ShellPkg/Library/UefiShellLevel1CommandsLib/If.c
index a8af5ed7dc..f3fc6b06a8 100644
--- a/ShellPkg/Library/UefiShellLevel1CommandsLib/If.c
+++ b/ShellPkg/Library/UefiShellLevel1CommandsLib/If.c
@@ -306,8 +306,6 @@ TestOperation (
ASSERT(FALSE);
return (FALSE);
}
- ASSERT(FALSE);
- return (FALSE);
}
EFI_STATUS