From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcmVhcyBCaWXDn21hbm4=?= Date: Wed, 05 Oct 2011 10:54:33 +0200 Subject: [U-Boot] [PATCH] cmd_sf.c: fix compilation warning In-Reply-To: <1317799406-14698-1-git-send-email-biessmann@corscience.de> References: <1317799406-14698-1-git-send-email-biessmann@corscience.de> Message-ID: <4E8C1B49.1010204@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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