https://git.reactos.org/?p=reactos.git;a=commitdiff;h=46fdc89e4fa0bcee83432…
commit 46fdc89e4fa0bcee83432d522b4cd3f1e24e89f8
Author: Hervé Poussineau <hpoussin(a)reactos.org>
AuthorDate: Tue Jan 14 23:16:25 2020 +0100
Commit: Hervé Poussineau <hpoussin(a)reactos.org>
CommitDate: Wed Jan 22 20:56:51 2020 +0100
[FREELDR] Comment out useless variable
---
boot/freeldr/freeldr/ntldr/arch/amd64/winldr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/boot/freeldr/freeldr/ntldr/arch/amd64/winldr.c
b/boot/freeldr/freeldr/ntldr/arch/amd64/winldr.c
index 9540c63370a..5c804372844 100644
--- a/boot/freeldr/freeldr/ntldr/arch/amd64/winldr.c
+++ b/boot/freeldr/freeldr/ntldr/arch/amd64/winldr.c
@@ -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 */