Received: from eggs.gnu.org ([140.186.70.92]:40228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUzBi-0003Wz-7T for qemu-devel@nongnu.org; Fri, 10 Jun 2011 06:43:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QUzBh-00012d-CD for qemu-devel@nongnu.org; Fri, 10 Jun 2011 06:43:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUzBg-00012W-Uv for qemu-devel@nongnu.org; Fri, 10 Jun 2011 06:43:37 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5AAhZwV024007 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 10 Jun 2011 06:43:35 -0400 Received: from teriyaki.cdg.redhat.com (ovpn-113-33.phx2.redhat.com [10.3.113.33]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p5AAhVod018510 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 10 Jun 2011 06:43:34 -0400 Date: Fri, 10 Jun 2011 12:43:30 +0200 From: Christophe Fergeau Message-ID: <20110610104329.GC31768@teriyaki.cdg.redhat.com> References: <20110531054345.GA17412@amit-x200.redhat.com> <1306828429-9139-1-git-send-email-cfergeau@redhat.com> <1306828429-9139-3-git-send-email-cfergeau@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JWEK1jqKZ6MHAcjA" Content-Disposition: inline In-Reply-To: <1306828429-9139-3-git-send-email-cfergeau@redhat.com> Subject: Re: [Qemu-devel] [PATCH-v3 2/2] kvm: Fix unused-but-set-variable warning List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --JWEK1jqKZ6MHAcjA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ping? On Tue, May 31, 2011 at 09:53:49AM +0200, Christophe Fergeau wrote: > Based on a patch from Hans de Goede >=20 > This warning is new in gcc 4.6. >=20 > Acked-by: Amit Shah > Signed-off-by: Christophe Fergeau > --- > target-i386/kvm.c | 3 +-- > 1 files changed, 1 insertions(+), 2 deletions(-) >=20 > diff --git a/target-i386/kvm.c b/target-i386/kvm.c > index faedc6c..58a70bc 100644 > --- a/target-i386/kvm.c > +++ b/target-i386/kvm.c > @@ -970,7 +970,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; > =20 > if (!kvm_has_xsave()) { > return kvm_get_fpu(env); > @@ -986,7 +986,6 @@ static int kvm_get_xsave(CPUState *env) > cwd =3D (uint16_t)xsave->region[0]; > swd =3D (uint16_t)(xsave->region[0] >> 16); > twd =3D (uint16_t)xsave->region[1]; > - fop =3D (uint16_t)(xsave->region[1] >> 16); > env->fpstt =3D (swd >> 11) & 7; > env->fpus =3D swd; > env->fpuc =3D cwd; > --=20 > 1.7.5.2 >=20 >=20 --JWEK1jqKZ6MHAcjA Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk3x9VEACgkQJKRp+3pW947aVACg4uPujghejtht8EvaSJ3mN6XC CukAoJZJdLopvRqrEi+NgsVcE5qhhcje =uwfm -----END PGP SIGNATURE----- --JWEK1jqKZ6MHAcjA--