[U-Boot] [PATCH/next branch] powerpc: Fix compilation warning in board.c

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@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;

Dear Stefan Roese,
In message 1235404356-2998-1-git-send-email-sr@denx.de you wrote:
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@denx.de
lib_ppc/board.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
Applied to next, thanks.
Best regards,
Wolfgang Denk
participants (2)
-
Stefan Roese
-
Wolfgang Denk