[U-Boot] [PATCH/next branch] powerpc: Fix compilation warning in board.c
Stefan Roese
sr at denx.de
Mon Feb 23 16:52:36 CET 2009
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 <sr at denx.de>
---
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
More information about the U-Boot
mailing list