mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
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>
This commit is contained in:
parent
ae0bfb79aa
commit
49a2942d9b
14 changed files with 24 additions and 75 deletions
|
@ -501,7 +501,6 @@ static void taihu_405ep_init(ram_addr_t ram_size,
|
|||
const char *cpu_model)
|
||||
{
|
||||
char *filename;
|
||||
CPUPPCState *env;
|
||||
qemu_irq *pic;
|
||||
ram_addr_t bios_offset;
|
||||
target_phys_addr_t ram_bases[2], ram_sizes[2];
|
||||
|
@ -521,8 +520,8 @@ static void taihu_405ep_init(ram_addr_t ram_size,
|
|||
#ifdef DEBUG_BOARD_INIT
|
||||
printf("%s: register cpu\n", __func__);
|
||||
#endif
|
||||
env = ppc405ep_init(ram_bases, ram_sizes, 33333333, &pic,
|
||||
kernel_filename == NULL ? 0 : 1);
|
||||
ppc405ep_init(ram_bases, ram_sizes, 33333333, &pic,
|
||||
kernel_filename == NULL ? 0 : 1);
|
||||
/* allocate and load BIOS */
|
||||
#ifdef DEBUG_BOARD_INIT
|
||||
printf("%s: register BIOS\n", __func__);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue