mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Fix uninitailzied variable on dbg=0
svn path=/trunk/; revision=15162
This commit is contained in:
parent
4dbcb4368f
commit
9248a9d298
1 changed files with 2 additions and 2 deletions
|
@ -2435,7 +2435,7 @@ NtReadFile(IN HANDLE FileHandle,
|
|||
IN PLARGE_INTEGER ByteOffset OPTIONAL, /* NOT optional for asynch. operations! */
|
||||
IN PULONG Key OPTIONAL)
|
||||
{
|
||||
NTSTATUS Status;
|
||||
NTSTATUS Status = STATUS_SUCCESS;
|
||||
PFILE_OBJECT FileObject;
|
||||
PIRP Irp = NULL;
|
||||
PDEVICE_OBJECT DeviceObject;
|
||||
|
@ -2571,8 +2571,8 @@ NtReadFile(IN HANDLE FileHandle,
|
|||
Irp->Overlay.AsynchronousParameters.UserApcContext = ApcContext;
|
||||
Irp->Flags |= IRP_READ_OPERATION;
|
||||
|
||||
/* FIXME: KDBG is using this flag and not reading from cluster-aligned. Investigate. */
|
||||
#if 0
|
||||
/* FIXME: KDBG is using this flag and not reading from cluster-aligned. Investigate */
|
||||
if (FileObject->Flags & FO_NO_INTERMEDIATE_BUFFERING)
|
||||
{
|
||||
DbgBreakPoint();
|
||||
|
|
Loading…
Reference in a new issue