Fix uninitailzied variable on dbg=0
Modified: trunk/reactos/ntoskrnl/io/file.c
_____
Modified: trunk/reactos/ntoskrnl/io/file.c
--- trunk/reactos/ntoskrnl/io/file.c 2005-05-09 01:01:18 UTC (rev
15161)
+++ trunk/reactos/ntoskrnl/io/file.c 2005-05-09 01:06:39 UTC (rev
15162)
@@ -2435,7 +2435,7 @@
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 @@
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();
Show replies by date