mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[NTOS:MM] MmDeleteProcessAddressSpace(): Move 'Address' to where it belongs (#2865)
No impact.
Detected by Cppcheck: unusedVariable.
Addendum to 2dade10d54
.
This commit is contained in:
parent
703c56beb3
commit
ceccaae311
1 changed files with 2 additions and 1 deletions
|
@ -572,7 +572,6 @@ MmDeleteProcessAddressSpace(PEPROCESS Process)
|
|||
{
|
||||
#ifndef _M_AMD64
|
||||
KIRQL OldIrql;
|
||||
PVOID Address;
|
||||
#endif
|
||||
|
||||
DPRINT("MmDeleteProcessAddressSpace(Process %p (%s))\n", Process,
|
||||
|
@ -591,7 +590,9 @@ MmDeleteProcessAddressSpace(PEPROCESS Process)
|
|||
#if (_MI_PAGING_LEVELS == 2)
|
||||
{
|
||||
KIRQL OldIrql;
|
||||
PVOID Address;
|
||||
PMMPDE pointerPde;
|
||||
|
||||
/* Attach to Process */
|
||||
KeAttachProcess(&Process->Pcb);
|
||||
|
||||
|
|
Loading…
Reference in a new issue