From: Stefan Roese Date: Mon, 23 Feb 2009 16:52:36 +0100 Subject: [U-Boot] [PATCH/next branch] powerpc: Fix compilation warning in board.c Message-ID: <1235404356-2998-1-git-send-email-sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Fix this warning: board.c: In function 'board_init_r': board.c:653: warning: unused variable 'i' board.c:651: warning: unused variable 'e' Signed-off-by: Stefan Roese --- lib_ppc/board.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/lib_ppc/board.c b/lib_ppc/board.c index 165cd1f..f1b62f5 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -648,9 +648,8 @@ void board_init_f (ulong bootflag) void board_init_r (gd_t *id, ulong dest_addr) { cmd_tbl_t *cmdtp; - char *s, *e; + char *s; bd_t *bd; - int i; extern void malloc_bin_reloc (void); #ifndef CONFIG_ENV_IS_NOWHERE extern char * env_name_spec; -- 1.6.1.3