Delete write only variables
commit49a2942d9be0b08aed3e63901561745378ea5e4f
authorBlue Swirl <blauwirbel@gmail.com>
Wed, 13 Oct 2010 18:41:29 +0000 (13 18:41 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Wed, 13 Oct 2010 18:41:29 +0000 (13 18:41 +0000)
treef3d038f4cc13c46f6416caa1eefedd22be39ce8f
parentae0bfb79aa0ac411a433433af4d74f1f08255608
Delete write only variables

Compiling with GCC 4.6.0 20100925 produced warnings like:
/src/qemu/net/tap-win32.c: In function 'tap_win32_open':
/src/qemu/net/tap-win32.c:582:12: error: variable 'hThread' set but not used [-Werror=unused-but-set-variable]

Fix by removing the unused variables.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
14 files changed:
hw/mips_fulong2e.c
hw/mips_malta.c
hw/mips_r4k.c
hw/ppc405_boards.c
hw/ppc405_uc.c
hw/ppc_newworld.c
hw/ppc_oldworld.c
hw/ppc_prep.c
hw/ppce500_mpc8544ds.c
hw/tc6393xb_template.h
hw/virtex_ml507.c
hw/wm8750.c
net/tap-win32.c
savevm.c