[U-Boot] [PATCH 07/22] common/cmd_flash.c: Fix GCC 4.6 build warnings
Wolfgang Denk
wd at denx.de
Mon Nov 7 22:47:56 CET 2011
Dear Wolfgang Denk,
In message <1320505999-9770-8-git-send-email-wd at denx.de> you wrote:
> Fix:
> cmd_flash.c:355:32: warning: 'info' may be used uninitialized in this
> function [-Wuninitialized]
> cmd_flash.c:354:10: warning: 'sect_first' may be used uninitialized in
> this function [-Wuninitialized]
> cmd_flash.c:354:10: warning: 'sect_last' may be used uninitialized in
> this function [-Wuninitialized]
> cmd_flash.c: In function 'do_protect':
> cmd_flash.c:540:9: warning: 'info' may be used uninitialized in this
> function [-Wuninitialized]
> cmd_flash.c:538:9: warning: 'sect_first' may be used uninitialized in
> this function [-Wuninitialized]
> cmd_flash.c:538:9: warning: 'sect_last' may be used uninitialized in
> this function [-Wuninitialized]
>
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
> common/cmd_flash.c | 8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
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
The human race is a race of cowards; and I am not only marching in
that procession but carrying a banner. - Mark Twain
More information about the U-Boot
mailing list