Fix unused variable warning.
Modified: trunk/reactos/ntoskrnl/mm/virtual.c
_____
Modified: trunk/reactos/ntoskrnl/mm/virtual.c
--- trunk/reactos/ntoskrnl/mm/virtual.c 2005-01-13 19:40:21 UTC (rev
13028)
+++ trunk/reactos/ntoskrnl/mm/virtual.c 2005-01-13 20:30:59 UTC (rev
13029)
@@ -393,6 +393,11 @@
NewAccessProtection,
OldAccessProtection);
}
+ else
+ {
+ /* FIXME: Should we return failure or success in this case? */
+ Status = STATUS_SUCCESS;
+ }
MmUnlockAddressSpace(AddressSpace);
Show replies by date