[U-Boot] [PATCH] common/cmd_nvedit.c: Fix GCC 4.6 warning
Anatolij Gustschin
agust at denx.de
Sun May 20 23:52:39 CEST 2012
cmd_nvedit.c: In function '_do_env_set':
cmd_nvedit.c:207:9: warning: unused variable 'bd' [-Wunused-variable]
Signed-off-by: Anatolij Gustschin <agust at denx.de>
---
common/cmd_nvedit.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
index 5999cb8..2712002 100644
--- a/common/cmd_nvedit.c
+++ b/common/cmd_nvedit.c
@@ -204,7 +204,6 @@ static int do_env_grep(cmd_tbl_t *cmdtp, int flag,
*/
int _do_env_set(int flag, int argc, char * const argv[])
{
- bd_t *bd = gd->bd;
int i, len;
int console = -1;
char *name, *value, *s;
--
1.7.1
More information about the U-Boot
mailing list