summaryrefslogtreecommitdiff
path: root/Nt32Pkg/WinNtBlockIoDxe
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-20 17:05:16 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-20 17:05:16 +0000
commita00ec39b52224a40bf9a0a813b69cb43e14407a8 (patch)
tree9c7f790663515a52991c00acaf442aefae23ca3f /Nt32Pkg/WinNtBlockIoDxe
parente189fded67ad50140d2c8171aa38842767f5d42e (diff)
Fix ICC compatibility issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8616 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg/WinNtBlockIoDxe')
-rw-r--r--Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.c b/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.c
index f020d6bae..291f7a08e 100644
--- a/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.c
+++ b/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.c
@@ -1089,7 +1089,6 @@ This function extends the capability of SetFilePointer to accept 64 bit paramete
{
EFI_STATUS Status;
LARGE_INTEGER LargeInt;
- UINT32 ErrorCode;
LargeInt.QuadPart = DistanceToMove;
Status = EFI_SUCCESS;
@@ -1101,8 +1100,7 @@ This function extends the capability of SetFilePointer to accept 64 bit paramete
MoveMethod
);
- if (LargeInt.LowPart == -1 &&
- (ErrorCode = Private->WinNtThunk->GetLastError ()) != NO_ERROR) {
+ if (LargeInt.LowPart == -1 && Private->WinNtThunk->GetLastError () != NO_ERROR) {
Status = EFI_INVALID_PARAMETER;
}