[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [VMXASSIST] Remove unused variable declarations to avoid compiler warning.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID fa4b1c287afa14406011f6f235c73c39628ea0e6
# Parent  72560fd8e9bf62e7a0f981c19c394d4842f5cf83
[VMXASSIST] Remove unused variable declarations to avoid compiler warning.
Signed-off-by: Ben Thomas <ben@xxxxxxxxxxxxxxx>
---
 tools/firmware/vmxassist/vm86.c |    2 --
 1 files changed, 2 deletions(-)

diff -r 72560fd8e9bf -r fa4b1c287afa tools/firmware/vmxassist/vm86.c
--- a/tools/firmware/vmxassist/vm86.c   Tue Nov 14 10:46:34 2006 +0000
+++ b/tools/firmware/vmxassist/vm86.c   Tue Nov 14 10:48:17 2006 +0000
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.