diff options
author | Alon Levy <alevy@redhat.com> | 2011-06-17 19:11:34 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-06-17 19:12:23 +0200 |
commit | cd80df3ea7ea81e0c743aad12f00e11de74ca76f (patch) | |
tree | 76faa6a19717004eff035e9276e906594cc55f43 | |
parent | eb47d7c5d96060040931c42773ee07e61e547af9 (diff) |
gcc 4.6.0 batch 1 (temp)
-rw-r--r-- | hw/lsi53c895a.c | 2 | ||||
-rw-r--r-- | target-i386/kvm.c | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c index 83084b6b6..90c6cbcbf 100644 --- a/hw/lsi53c895a.c +++ b/hw/lsi53c895a.c @@ -889,7 +889,6 @@ static void lsi_do_msgout(LSIState *s) uint8_t msg; int len; uint32_t current_tag; - SCSIDevice *current_dev; lsi_request *current_req, *p, *p_next; int id; @@ -901,7 +900,6 @@ static void lsi_do_msgout(LSIState *s) current_req = lsi_find_by_tag(s, current_tag); } id = (current_tag >> 8) & 0xf; - current_dev = s->bus.devs[id]; DPRINTF("MSG out len=%d\n", s->dbc); while (s->dbc) { diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 1ae2d6174..c5b759f59 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -985,7 +985,7 @@ static int kvm_get_xsave(CPUState *env) #ifdef KVM_CAP_XSAVE struct kvm_xsave* xsave; int ret, i; - uint16_t cwd, swd, twd, fop; + uint16_t cwd, swd, twd; if (!kvm_has_xsave()) { return kvm_get_fpu(env); @@ -1001,7 +1001,6 @@ static int kvm_get_xsave(CPUState *env) cwd = (uint16_t)xsave->region[0]; swd = (uint16_t)(xsave->region[0] >> 16); twd = (uint16_t)xsave->region[1]; - fop = (uint16_t)(xsave->region[1] >> 16); env->fpstt = (swd >> 11) & 7; env->fpus = swd; env->fpuc = cwd; |