Dear Heiko, Thanks for the fix.
On Tue, Dec 13, 2011 at 01:37:17AM -0500, Heiko Schocher wrote: > 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 <h...@denx.de> > Cc: Jason Hobbs <jason.ho...@calxeda.com> Acked-by: Jason Hobbs <jason.ho...@calxeda.com> > --- > common/cmd_pxe.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c > index 9426f5b..7c0cb66 100644 > --- a/common/cmd_pxe.c > +++ b/common/cmd_pxe.c > @@ -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); > > -- > 1.7.6.4 > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot