mirror of
https://github.com/reactos/reactos.git
synced 2024-07-09 06:05:11 +00:00
Unbreak build (unused local var's warnings when not using the quota code).
svn path=/trunk/; revision=29828
This commit is contained in:
parent
821c3e5125
commit
33b96d03bf
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue