mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 11:33:31 +08:00
[USETUP][EXT2LIB] NtWriteFile() calls: Remove unused 'ByteOffset = 0', Use explicit NULL instead of ambiguous 0. CORE-13910
This commit is contained in:
parent
c72066f87f
commit
f0e6c11bba
@ -941,7 +941,6 @@ InstallFat16BootCodeToFile(
|
||||
return Status;
|
||||
}
|
||||
|
||||
FileOffset.QuadPart = 0ULL;
|
||||
Status = NtWriteFile(FileHandle,
|
||||
NULL,
|
||||
NULL,
|
||||
@ -1102,7 +1101,6 @@ InstallFat32BootCodeToFile(
|
||||
return Status;
|
||||
}
|
||||
|
||||
FileOffset.QuadPart = 0ULL;
|
||||
Status = NtWriteFile(FileHandle,
|
||||
NULL,
|
||||
NULL,
|
||||
|
@ -1077,7 +1077,7 @@ Ext2WriteDisk( PEXT2_FILESYS Ext2Sys,
|
||||
Address.QuadPart = Offset;
|
||||
|
||||
Status = NtWriteFile( Ext2Sys->MediaHandle,
|
||||
0,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
&IoStatus,
|
||||
@ -1125,7 +1125,7 @@ Ext2WriteDisk( PEXT2_FILESYS Ext2Sys,
|
||||
Buffer, Length );
|
||||
|
||||
Status = NtWriteFile( Ext2Sys->MediaHandle,
|
||||
0,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
&IoStatus,
|
||||
|
Loading…
Reference in New Issue
Block a user