[FREELDR] Comment out useless variable

This commit is contained in:
Hervé Poussineau 2020-01-14 23:16:25 +01:00
parent 5f692ed1f0
commit 46fdc89e4f

View file

@ -325,14 +325,14 @@ VOID
Amd64SetupIdt(PVOID IdtBase)
{
KDESCRIPTOR IdtDesc, OldIdt;
ULONG Size;
//ULONG Size;
TRACE("Amd64SetupIdt(IdtBase = %p)\n", IdtBase);
/* Get old IDT */
__sidt(&OldIdt.Limit);
/* Copy the old IDT */
Size = min(OldIdt.Limit + 1, NUM_IDT * sizeof(KIDTENTRY));
//Size = min(OldIdt.Limit + 1, NUM_IDT * sizeof(KIDTENTRY));
//RtlCopyMemory(IdtBase, (PVOID)OldIdt.Base, Size);
/* Setup the new IDT descriptor */