[U-Boot] [PATCH 19/56] board/c2mon/pcmcia.c: Fix GCC 4.6 build warning

Wolfgang Denk wd at denx.de
Mon Nov 7 22:12:15 CET 2011


Dear Wolfgang Denk,

In message <1320458160-23136-20-git-send-email-wd at denx.de> you wrote:
> Fix:
> pcmcia.c: In function 'pcmcia_voltage_set':
> pcmcia.c:202:21: warning: variable 'cp' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
>  board/c2mon/pcmcia.c |    8 +++-----
>  1 files changed, 3 insertions(+), 5 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
"Do we define evil as the absence of goodness? It seems only  logical
that shit happens--we discover this by the process of elimination."
                                                        -- Larry Wall


More information about the U-Boot mailing list