Skip to contentSkip to conversation

vm86.c - remove unused variables

PATCH New Ben Thomas 1 participant 1 message Nov 14, 2006

lore
Share & tools
lore

Ben Thomas

author
#0 lore raw

PATCH 1/1 vm86.c - remove unused variables

Trivial change to remove unused variables and, more importantly to me, the compiler's complaining about it (I'm tired of seeing them)

Signature · 5 lines
------------------------------------------------------------------------
Ben Thomas                                         Virtual Iron Software
[email protected]                            Tower 1, Floor 2
978-849-1214                                       900 Chelmsford Street
                                                    Lowell, MA 01851
tools/firmware/vmxassist/vm86.c +0 -2
diff -r bfe3f8f35e87 tools/firmware/vmxassist/vm86.c
@@ -816,9 +816,7 @@ static int
 static int
 mov_to_seg(struct regs *regs, unsigned prefix, unsigned opc)
 {
-	unsigned eip = regs->eip - 1;
 	unsigned modrm = fetch8(regs);
-	unsigned addr = operand(prefix, regs, modrm);
 
 	/* Only need to emulate segment loads in real->protected mode. */
 	if (mode != VM86_REAL_TO_PROTECTED)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel