common/cmd_nvedit.c: Fix GCC 4.6 warning
PATCH 1/1 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 <[email protected]>
--- common/cmd_nvedit.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
common/cmd_nvedit.c +0 -1
@@ -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;
Signature · 1 line
1.7.1
Wolfgang Denk
AppliedPATCH 1/1 common/cmd_nvedit.c: Fix GCC 4.6 warning
Dear Anatolij Gustschin,
Quoted 7 lines · In message <[email protected]> you wrote:
cmd_nvedit.c: In function '_do_env_set':
cmd_nvedit.c:207:9: warning: unused variable 'bd' [-Wunused-variable]Signed-off-by Anatolij Gustschin <[email protected]>--- common/cmd_nvedit.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 8 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de You say you are lying. But if everything you say is a lie, then you are telling the truth. You cannot tell the truth because everything you say is a lie. You lie, you tell the truth ... but you cannot, for you lie. -- Norman the android, "I, Mudd", stardate 4513.3