From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752463Ab1LKUaJ (ORCPT ); Sun, 11 Dec 2011 15:30:09 -0500 Received: from cantor2.suse.de ([195.135.220.15]:59364 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752269Ab1LKUaH (ORCPT ); Sun, 11 Dec 2011 15:30:07 -0500 Date: Sun, 11 Dec 2011 21:30:06 +0100 From: Michal Marek To: Peter Foley Cc: Linux Kernel Mailing List , Linux Kbuild Mailing List Subject: Re: [PATCH] kbuild: fix set but not used warnings Message-ID: <20111211203005.GB21410@sepie.suse.cz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 22, 2011 at 02:01:24PM -0400, Peter Foley wrote: > Remove set but not used variables to fix warnings. > > HOSTCC scripts/kconfig/gconf.o > /usr/src/lto/scripts/kconfig/gconf.c: In function 'change_sym_value': > /usr/src/lto/scripts/kconfig/gconf.c:833:11: warning: variable 'oldval' set but not used [-Wunused-but-set-variable] > /usr/src/lto/scripts/kconfig/gconf.c: In function 'update_tree': > /usr/src/lto/scripts/kconfig/gconf.c:1281:19: warning: variable 'prop' set but not used [-Wunused-but-set-variable] > > Signed-off-by: Peter Foley > --- > scripts/kconfig/gconf.c | 5 +---- > 1 files changed, 1 insertions(+), 4 deletions(-) Applied to kbuild.git#kconfig. Michal