From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Marek Subject: Re: [PATCH 1/6]scripts:conf.c Fix warning: variable 'type' set but not used Date: Sat, 12 Jun 2010 00:19:49 +0200 Message-ID: <4C12B685.30101@suse.cz> References: <1276288869-16815-1-git-send-email-justinmattock@gmail.com> <1276288869-16815-2-git-send-email-justinmattock@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1276288869-16815-2-git-send-email-justinmattock@gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org To: "Justin P. Mattock" Cc: linux-kernel@vger.kernel.org, linux-audit@redhat.com, zippel@linux-m68k.org, linux-fsdevel@vger.kernel.org, rusty@rustcorp.com.au List-Id: linux-audit@redhat.com 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