projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
821c3e5
)
Unbreak build (unused local var's warnings when not using the quota code).
author
Mike Nordell
<tamlin@algonet.se>
Tue, 23 Oct 2007 12:31:21 +0000
(12:31 +0000)
committer
Mike Nordell
<tamlin@algonet.se>
Tue, 23 Oct 2007 12:31:21 +0000
(12:31 +0000)
svn path=/trunk/; revision=29828
reactos/ntoskrnl/ps/quota.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/ps/quota.c
b/reactos/ntoskrnl/ps/quota.c
index
6c02afc
..
405a268
100644
(file)
--- a/
reactos/ntoskrnl/ps/quota.c
+++ b/
reactos/ntoskrnl/ps/quota.c
@@
-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;