scripts:conf.c Fix warning: variable 'type' set but not used
authorJustin P. Mattock <justinmattock@gmail.com>
Fri, 11 Jun 2010 20:41:04 +0000 (13:41 -0700)
committerMichal Marek <mmarek@suse.cz>
Fri, 11 Jun 2010 22:07:50 +0000 (00:07 +0200)
commit60c8eca69f7fb2820677a635d921866f66727fcb
tree118176c824f125ed4f36a469188cdd11b0967874
parente7401d8321f89a3785a395ba307c720e2b390f96
scripts:conf.c Fix warning: variable 'type' set but not used

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.

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/conf.c