From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:35902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPuNk-0007w8-JZ for qemu-devel@nongnu.org; Fri, 27 May 2011 06:35:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QPuNj-000333-Ne for qemu-devel@nongnu.org; Fri, 27 May 2011 06:35:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:14520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPuNj-00032w-Ei for qemu-devel@nongnu.org; Fri, 27 May 2011 06:35:03 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p4RAZ1YC008220 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 27 May 2011 06:35:02 -0400 Date: Fri, 27 May 2011 16:04:58 +0530 From: Amit Shah Message-ID: <20110527103458.GA30093@amit-x200.redhat.com> References: <1304420620-8409-1-git-send-email-hdegoede@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1304420620-8409-1-git-send-email-hdegoede@redhat.com> Subject: Re: [Qemu-devel] [PATCH] Fix a number of unused-but-set-variable warnings (new with gcc-4.6) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hans de Goede Cc: qemu-devel@nongnu.org On (Tue) 03 May 2011 [13:03:40], Hans de Goede wrote: > --- > target-i386/kvm.c | 4 ++-- > tcg/tcg.c | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) Thanks; just got hit by this. However, there are a couple of whitespace issues: > --- a/tcg/tcg.c > +++ b/tcg/tcg.c > @@ -585,7 +585,7 @@ void tcg_register_helper(void *func, const char *name) > void tcg_gen_callN(TCGContext *s, TCGv_ptr func, unsigned int flags, > int sizemask, TCGArg ret, int nargs, TCGArg *args) > { > -#ifdef TCG_TARGET_I386 > +#if defined TCG_TARGET_I386 && TCG_TARGET_REG_BITS < 64 > int call_type; > #endif > int i; > @@ -612,7 +612,7 @@ void tcg_gen_callN(TCGContext *s, TCGv_ptr func, unsigned int flags, > > *gen_opc_ptr++ = INDEX_op_call; > nparam = gen_opparam_ptr++; > -#ifdef TCG_TARGET_I386 > +#if defined TCG_TARGET_I386 && TCG_TARGET_REG_BITS < 64 > call_type = (flags & TCG_CALL_TYPE_MASK); > #endif > if (ret != TCG_CALL_DUMMY_ARG) { Both these lines have a trailing space. Care to resubmit with Anthony in CC? You can add: Acked-by: Amit Shah Amit