mirror of
https://github.com/reactos/reactos.git
synced 2024-10-15 13:45:58 +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 POOL_TYPE PoolType,
|
||||||
IN ULONG Amount)
|
IN ULONG Amount)
|
||||||
{
|
{
|
||||||
|
#ifdef PS_QUOTA_ENABLE_QUOTA_CODE
|
||||||
INT PoolIndex;
|
INT PoolIndex;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Don't do anything for the system process */
|
/* Don't do anything for the system process */
|
||||||
if (Process == PsInitialSystemProcess) return STATUS_SUCCESS;
|
if (Process == PsInitialSystemProcess) return STATUS_SUCCESS;
|
||||||
|
|
||||||
|
@ -220,7 +223,10 @@ PsReturnPoolQuota(IN PEPROCESS Process,
|
||||||
IN POOL_TYPE PoolType,
|
IN POOL_TYPE PoolType,
|
||||||
IN ULONG_PTR Amount)
|
IN ULONG_PTR Amount)
|
||||||
{
|
{
|
||||||
|
#ifdef PS_QUOTA_ENABLE_QUOTA_CODE
|
||||||
INT PoolIndex;
|
INT PoolIndex;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Don't do anything for the system process */
|
/* Don't do anything for the system process */
|
||||||
if (Process == PsInitialSystemProcess) return;
|
if (Process == PsInitialSystemProcess) return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue