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 <[email protected]>
--- lib_ppc/board.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
lib_ppc/board.c +1 -2
@@ -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;
Signature · 1 line
1.6.1.3
Wolfgang Denk
AppliedDear Stefan Roese,
Quoted 10 lines · In message <[email protected]> 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 <[email protected]>--- lib_ppc/board.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
Applied to next, thanks.
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de egrep patterns are full regular expressions; it uses a fast determi- nistic algorithm that sometimes needs exponential space. - unix manuals