Author: mnordell
Date: Tue Oct 23 16:31:21 2007
New Revision: 29828
URL:
http://svn.reactos.org/svn/reactos?rev=29828&view=rev
Log:
Unbreak build (unused local var's warnings when not using the quota code).
Modified:
trunk/reactos/ntoskrnl/ps/quota.c
Modified: trunk/reactos/ntoskrnl/ps/quota.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ps/quota.c?rev=29…
==============================================================================
--- trunk/reactos/ntoskrnl/ps/quota.c (original)
+++ trunk/reactos/ntoskrnl/ps/quota.c Tue Oct 23 16:31:21 2007
@@ -182,7 +182,10 @@
IN POOL_TYPE PoolType,
IN ULONG Amount)
{
+#ifdef PS_QUOTA_ENABLE_QUOTA_CODE
INT PoolIndex;
+#endif
+
/* Don't do anything for the system process */
if (Process == PsInitialSystemProcess) return STATUS_SUCCESS;
@@ -220,7 +223,10 @@
IN POOL_TYPE PoolType,
IN ULONG_PTR Amount)
{
+#ifdef PS_QUOTA_ENABLE_QUOTA_CODE
INT PoolIndex;
+#endif
+
/* Don't do anything for the system process */
if (Process == PsInitialSystemProcess) return;