mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Compiling Sparc64 with GCC 4.6.0 20100925 produced a few warnings: ../arch/sparc64/context.c: In function 'start_main': ../arch/sparc64/context.c:49:9: error: variable 'retval' set but not used [-Werror=unused-but-set-variable] ../packages/disk-label.c: In function 'dlabel_load': ../packages/disk-label.c:183:8: error: variable 'buf' set but not used [-Werror=unused-but-set-variable] ../drivers/floppy.c: In function 'collect_interrupt': ../drivers/floppy.c:378:13: error: variable 'status' set but not used [-Werror=unused-but-set-variable] Fix the warnings by avoiding write-only variables. Signed-off-by: Blue Swirl <blauwirbel@gmail.com> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@882 f158a5a8-5612-0410-a976-696ce0be7e32