[U-Boot] [PATCH 05/12] board/cm41xx/flash.c: Fix GCC 4.6 warnings
Wolfgang Denk
wd at denx.de
Wed Nov 16 21:35:20 CET 2011
Dear Anatolij Gustschin,
In message <1321399263-13826-6-git-send-email-agust at denx.de> you wrote:
> Fix:
> flash.c: In function 'flash_erase':
> flash.c:209:6: warning: variable 'flag' set but not used
> [-Wunused-but-set-variable]
> flash.c: In function 'write_data':
> flash.c:373:6: warning: variable 'flag' set but not used
> [-Wunused-but-set-variable]
>
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
> board/cm41xx/flash.c | 7 +++----
> 1 files changed, 3 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
What about WRITING it first and rationalizing it afterwords? :-)
- Larry Wall in <8162 at jpl-devvax.JPL.NASA.GOV>
More information about the U-Boot
mailing list