fixed uninitialized variable warning
authorThomas Bluemel <thomas@reactsoft.com>
Sun, 1 Jan 2006 13:31:26 +0000 (13:31 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Sun, 1 Jan 2006 13:31:26 +0000 (13:31 +0000)
svn path=/trunk/; revision=20509

reactos/ntoskrnl/mm/pagefile.c

index 5cccff8..26f72f8 100644 (file)
@@ -776,7 +776,7 @@ NtCreatePagingFile(IN PUNICODE_STRING FileName,
                    IN PLARGE_INTEGER MaximumSize,
                    IN ULONG Reserved)
 {
-   NTSTATUS Status;
+   NTSTATUS Status = STATUS_SUCCESS;
    OBJECT_ATTRIBUTES ObjectAttributes;
    HANDLE FileHandle;
    IO_STATUS_BLOCK IoStatus;