Files
openbios/arch/sparc32
Blue Swirl b00e6c7085 sparc32: fix warnings from GCC 4.6.0
Compiling Sparc32 with GCC 4.6.0 20100925 produced a few warnings:
../arch/sparc32/context.c: In function 'start_main':
../arch/sparc32/context.c:49:9: error: variable 'retval' set but not used [-Werror=unused-but-set-variable]
../arch/sparc32/romvec.c: In function 'obp_devwrite':
../arch/sparc32/romvec.c:326:9: error: variable 'ret' set but not used [-Werror=unused-but-set-variable]
../drivers/iommu.c: In function 'iommu_init':
../drivers/iommu.c:102:24: error: variable 'vers' set but not used [-Werror=unused-but-set-variable]
../drivers/iommu.c:102:18: error: variable 'impl' 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@883 f158a5a8-5612-0410-a976-696ce0be7e32
2010-10-03 19:18:23 +00:00
..
2010-08-03 18:39:27 +00:00
2010-08-08 20:03:38 +00:00
2010-09-29 20:30:51 +00:00
2010-10-03 19:18:23 +00:00
2006-05-06 21:33:36 +00:00
2009-01-17 09:55:09 +00:00
2008-07-07 18:35:51 +00:00
2009-01-10 20:31:21 +00:00
2010-10-03 19:18:23 +00:00
2010-08-01 14:37:04 +00:00
2008-12-13 09:26:41 +00:00
2009-01-11 11:49:00 +00:00
2008-09-29 17:11:00 +00:00
2008-09-29 17:11:00 +00:00