mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 08:50:24 +08: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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user