diff options
Diffstat (limited to 'Nt32Pkg/WinNtBlockIoDxe')
-rw-r--r-- | Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.c b/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.c index f020d6b..291f7a0 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;
}
|