From 5017436366d785b1add39d25e4410e37a73bf49c Mon Sep 17 00:00:00 2001 From: Anatolij Gustschin Date: Sun, 20 May 2012 11:52:39 +0000 Subject: [PATCH] common/cmd_nvedit.c: Fix GCC 4.6 warning cmd_nvedit.c: In function '_do_env_set': cmd_nvedit.c:207:9: warning: unused variable 'bd' [-Wunused-variable] Signed-off-by: Anatolij Gustschin --- common/cmd_nvedit.c | 1 - 1 file changed, 1 deletion(-) diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index 5999cb80e3..271200266c 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; -- 2.25.1