From mboxrd@z Thu Jan 1 00:00:00 1970 From: Graeme Russ Date: Tue, 06 Mar 2012 21:15:37 +1100 Subject: [U-Boot] [PATCH] sc520: fix build warning about unused temp var In-Reply-To: <1330984532-16482-1-git-send-email-vapier@gentoo.org> References: <1330984532-16482-1-git-send-email-vapier@gentoo.org> Message-ID: <4F55E3C9.9020108@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 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 Applied Regards, Graeme