summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2012-05-20 11:52:39 +0000
committerWolfgang Denk <wd@denx.de>2012-05-22 10:15:10 +0200
commit5017436366d785b1add39d25e4410e37a73bf49c (patch)
tree142c1533c1c0b7112a1238a1fa80bf541ca8f750 /common
parent985889b1108954b2699fe2a484bec3847f36371b (diff)
downloadu-boot-imx-5017436366d785b1add39d25e4410e37a73bf49c.zip
u-boot-imx-5017436366d785b1add39d25e4410e37a73bf49c.tar.gz
u-boot-imx-5017436366d785b1add39d25e4410e37a73bf49c.tar.bz2
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.c1
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;