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 <agust@denx.de>
This commit is contained in:
Anatolij Gustschin 2012-05-20 11:52:39 +00:00 committed by Wolfgang Denk
parent 985889b110
commit 5017436366

View file

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