fixed uninitialized variable warning
Modified: trunk/reactos/lib/kernel32/mem/procmem.c
_____
Modified: trunk/reactos/lib/kernel32/mem/procmem.c
--- trunk/reactos/lib/kernel32/mem/procmem.c 2005-10-24 17:45:37 UTC
(rev 18751)
+++ trunk/reactos/lib/kernel32/mem/procmem.c 2005-10-24 17:50:14 UTC
(rev 18752)
@@ -58,7 +58,7 @@
SIZE_T *lpNumberOfBytesWritten
)
{
- NTSTATUS Status, ProtectStatus;
+ NTSTATUS Status, ProtectStatus = STATUS_SUCCESS;
MEMORY_BASIC_INFORMATION MemInfo;
ULONG Length;
BOOLEAN UnProtect;
Show replies by date