diff options
author | Anatolij Gustschin <agust@denx.de> | 2012-05-20 11:52:39 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-05-22 10:15:10 +0200 |
commit | 5017436366d785b1add39d25e4410e37a73bf49c (patch) | |
tree | 142c1533c1c0b7112a1238a1fa80bf541ca8f750 /common | |
parent | 985889b1108954b2699fe2a484bec3847f36371b (diff) |
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>
Diffstat (limited to 'common')
-rw-r--r-- | 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 5999cb80e36..271200266c8 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; |