[U-Boot] [PATCH] common/cmd_pxe.c: Fix GCC 4.6 build warnings

Anatolij Gustschin agust at denx.de
Mon Dec 19 10:29:50 CET 2011


Hi Heiko,

On Tue, 13 Dec 2011 07:37:17 +0100
Heiko Schocher <hs at denx.de> 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 <hs at denx.de>
> Cc: Jason Hobbs <jason.hobbs at calxeda.com>
> ---
>  common/cmd_pxe.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied to u-boot-staging/agust at denx.de.

Thanks!

Anatolij


More information about the U-Boot mailing list