[U-Boot] [PATCH] cmd_sf.c: fix compilation warning

Andreas Bießmann andreas.devel at googlemail.com
Wed Oct 5 10:54:33 CEST 2011


Ouch,

Am 05.10.2011 09:23, schrieb Andreas Bießmann:
> building ./MAKEALL avr32 complains about
> 
> ---8<---
> Configuring for atngw100 board...
> cmd_sf.c: In function 'do_spi_flash':
> cmd_sf.c:164: warning: 'skipped' may be used uninitialized in this function
> cmd_sf.c:164: note: 'skipped' was declared here
> --->8---
> 
> This patch fixes it by defining skipped to maximum value.

superseeded by several patches.

regards

Andreas Bießmann


More information about the U-Boot mailing list