direct-io.hg

changeset 12397:fa4b1c287afa

[VMXASSIST] Remove unused variable declarations to avoid compiler warning.
Signed-off-by: Ben Thomas <ben@virtualiron.com>
author kfraser@localhost.localdomain
date Tue Nov 14 10:48:17 2006 +0000 (2006-11-14)
parents 72560fd8e9bf
children 8f09c7d6bad1
files tools/firmware/vmxassist/vm86.c
line diff
     1.1 --- a/tools/firmware/vmxassist/vm86.c	Tue Nov 14 10:46:34 2006 +0000
     1.2 +++ b/tools/firmware/vmxassist/vm86.c	Tue Nov 14 10:48:17 2006 +0000
     1.3 @@ -816,9 +816,7 @@ pop(struct regs *regs, unsigned prefix, 
     1.4  static int
     1.5  mov_to_seg(struct regs *regs, unsigned prefix, unsigned opc)
     1.6  {
     1.7 -	unsigned eip = regs->eip - 1;
     1.8  	unsigned modrm = fetch8(regs);
     1.9 -	unsigned addr = operand(prefix, regs, modrm);
    1.10  
    1.11  	/* Only need to emulate segment loads in real->protected mode. */
    1.12  	if (mode != VM86_REAL_TO_PROTECTED)