projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cd6901
)
powerpc: Fix compilation warning in board.c
author
Stefan Roese
<sr@denx.de>
Mon, 23 Feb 2009 15:52:36 +0000
(16:52 +0100)
committer
Wolfgang Denk
<wd@denx.de>
Fri, 20 Mar 2009 21:39:14 +0000
(22:39 +0100)
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
patch
|
blob
|
history
diff --git
a/lib_ppc/board.c
b/lib_ppc/board.c
index a63f4b3016615bdb1ee96d7fcaaf03ca1867c5cd..c925a5868c0424d3591e26b1a77058b5dca8b7a2 100644
(file)
--- a/
lib_ppc/board.c
+++ b/
lib_ppc/board.c
@@
-645,9
+645,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;