mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
common/cmd_pxe.c: Fix GCC 4.6 build warnings
Fix: cmd_pxe.c: In function 'parse_pxefile_top': cmd_pxe.c:941:5: warning: 'err' may be used uninitialized in this function [-Wuninitialized] cmd_pxe.c:921:6: note: 'err' was declared here Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Jason Hobbs <jason.hobbs@calxeda.com> Acked-by: Jason Hobbs <jason.hobbs@calxeda.com>
This commit is contained in:
parent
c0e6723ee4
commit
43d4a5e687
1 changed files with 1 additions and 1 deletions
|
@ -918,7 +918,7 @@ static int parse_menu(char **c, struct pxe_menu *cfg, char *b, int nest_level)
|
|||
{
|
||||
struct token t;
|
||||
char *s = *c;
|
||||
int err;
|
||||
int err = 0;
|
||||
|
||||
get_token(c, &t, L_KEYWORD);
|
||||
|
||||
|
|
Loading…
Reference in a new issue