[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 gmail com>

Thanks, applied.

Michal



o.k...

Justin P. Mattock


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]