[U-Boot] [PATCH] sc520: fix build warning about unused temp var

Graeme Russ graeme.russ at gmail.com
Tue Mar 6 11:15:37 CET 2012


Hi Mike,

On 03/06/2012 08:55 AM, Mike Frysinger wrote:
> Building the eNET_SRAM board fails for me:
> 	sc520_timer.c: In function 'sc520_udelay':
> 	sc520_timer.c:81:7: error: variable 'temp' set but not used
> 		[-Werror=unused-but-set-variable]
> 	cc1: all warnings being treated as errors
> 	make[1]: *** [sc520_timer.o] Error 1
> 
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>

Applied

Regards,

Graeme


More information about the U-Boot mailing list