diff mbox

[U-Boot] Fix unused variable compile warning

Message ID 1337612205-1415-1-git-send-email-joe.hershberger@ni.com
State Superseded, archived
Headers show

Commit Message

Joe Hershberger May 21, 2012, 2:56 p.m. UTC
In gcc 4.6 this warns.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Cc: Wolfgang Denk <wd@denx.de>
---
 common/cmd_nvedit.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff mbox

Patch

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;