From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Justin P. Mattock" Subject: Re: [PATCH 1/6]scripts:conf.c Fix warning: variable 'type' set but not used Date: Fri, 11 Jun 2010 15:24:09 -0700 Message-ID: <4C12B789.1090206@gmail.com> References: <1276288869-16815-1-git-send-email-justinmattock@gmail.com> <1276288869-16815-2-git-send-email-justinmattock@gmail.com> <4C12B685.30101@suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, linux-audit@redhat.com, zippel@linux-m68k.org, linux-fsdevel@vger.kernel.org, rusty@rustcorp.com.au To: Michal Marek Return-path: Received: from mail-pw0-f46.google.com ([209.85.160.46]:33163 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753852Ab0FKWit (ORCPT ); Fri, 11 Jun 2010 18:38:49 -0400 In-Reply-To: <4C12B685.30101@suse.cz> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On 06/11/2010 03:19 PM, Michal Marek wrote: > On 11.6.2010 22:41, Justin P. Mattock wrote: >> Not sure if this is correct or not, but with >> make menuconfig >> HOSTCC scripts/kconfig/conf.o >> scripts/kconfig/conf.c: In function 'conf_sym': >> scripts/kconfig/conf.c:159:6: warning: variable 'type' set but not used >> scripts/kconfig/conf.c: In function 'conf_choice': >> scripts/kconfig/conf.c:231:6: warning: variable 'type' set but not used >> HOSTLD scripts/kconfig/mconf >> >> I get this using gcc 4.6.0 the below change fixes this form me. >> please have a look and let me know. >> >> Signed-off-by: Justin P. Mattock > > Thanks, applied. > > Michal > o.k... Justin P. Mattock