mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00: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
2 changed files with 2 additions and 4 deletions
|
@ -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 a new issue