Re: [PATCH 1/6]scripts:conf.c Fix warning: variable 'type' set butnot used

From: Justin P. Mattock
Date: Fri Jun 11 2010 - 18:38:56 EST


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<justinmattock@xxxxxxxxx>

Thanks, applied.

Michal



o.k...

Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/