Unbreak build (unused local var's warnings when not using the quota code).

svn path=/trunk/; revision=29828
This commit is contained in:
Mike Nordell 2007-10-23 12:31:21 +00:00
parent 821c3e5125
commit 33b96d03bf

View file

@ -182,7 +182,10 @@ PsChargeProcessPoolQuota(IN PEPROCESS Process,
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 @@ PsReturnPoolQuota(IN PEPROCESS Process,
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;