kconfig: fix set but not used warnings
authorPeter Foley <pefoley2@verizon.net>
Sat, 22 Oct 2011 18:01:24 +0000 (14:01 -0400)
committerMichal Marek <mmarek@suse.cz>
Sun, 11 Dec 2011 20:29:45 +0000 (21:29 +0100)
commit4f0c28f77932c51ba7639a6174047ec8c6560116
tree09491de604d435504ed98d2bb0db304b65a8261f
parenta7d6f6e407d617da7a3cda8865e593523eb6ee80
kconfig: fix set but not used warnings

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 <pefoley2@verizon.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/gconf.c