Fix unused variable warning.
authorGregor Anich <blight@blight.eu.org>
Thu, 13 Jan 2005 20:30:59 +0000 (20:30 +0000)
committerGregor Anich <blight@blight.eu.org>
Thu, 13 Jan 2005 20:30:59 +0000 (20:30 +0000)
svn path=/trunk/; revision=13029

reactos/ntoskrnl/mm/virtual.c

index a012630..b0a059f 100644 (file)
@@ -393,6 +393,11 @@ MiProtectVirtualMemory(IN PEPROCESS Process,
                                     NewAccessProtection,
                                     OldAccessProtection);
    }
+   else
+   {
+      /* FIXME: Should we return failure or success in this case? */
+      Status = STATUS_SUCCESS;
+   }
 
    MmUnlockAddressSpace(AddressSpace);