mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 15:34:13 +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
|
@ -572,7 +572,6 @@ MmDeleteProcessAddressSpace(PEPROCESS Process)
|
||||||
{
|
{
|
||||||
#ifndef _M_AMD64
|
#ifndef _M_AMD64
|
||||||
KIRQL OldIrql;
|
KIRQL OldIrql;
|
||||||
PVOID Address;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
DPRINT("MmDeleteProcessAddressSpace(Process %p (%s))\n", Process,
|
DPRINT("MmDeleteProcessAddressSpace(Process %p (%s))\n", Process,
|
||||||
|
@ -591,7 +590,9 @@ MmDeleteProcessAddressSpace(PEPROCESS Process)
|
||||||
#if (_MI_PAGING_LEVELS == 2)
|
#if (_MI_PAGING_LEVELS == 2)
|
||||||
{
|
{
|
||||||
KIRQL OldIrql;
|
KIRQL OldIrql;
|
||||||
|
PVOID Address;
|
||||||
PMMPDE pointerPde;
|
PMMPDE pointerPde;
|
||||||
|
|
||||||
/* Attach to Process */
|
/* Attach to Process */
|
||||||
KeAttachProcess(&Process->Pcb);
|
KeAttachProcess(&Process->Pcb);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue