fixed uninitialized variable warning
authorThomas Bluemel <thomas@reactsoft.com>
Mon, 24 Oct 2005 17:50:14 +0000 (17:50 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Mon, 24 Oct 2005 17:50:14 +0000 (17:50 +0000)
svn path=/trunk/; revision=18752

reactos/lib/kernel32/mem/procmem.c

index 40fc3b5..9c14eec 100644 (file)
@@ -58,7 +58,7 @@ WriteProcessMemory (
        SIZE_T *lpNumberOfBytesWritten
        )
 {
-       NTSTATUS Status, ProtectStatus;
+       NTSTATUS Status, ProtectStatus = STATUS_SUCCESS;
        MEMORY_BASIC_INFORMATION MemInfo;
        ULONG Length;
        BOOLEAN UnProtect;