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 <s...@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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to