From: Wolfgang Denk Date: Wed, 9 Nov 2011 09:28:57 +0000 (+0000) Subject: board/evb64260/evb64260.c: Fix GC 4.6 build warning X-Git-Tag: v2011.12-rc1~210 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=54a087464d4624dd2fd183b4e44f7b7e90f1acd8;p=u-boot board/evb64260/evb64260.c: Fix GC 4.6 build warning Fix: evb64260.c: In function 'debug_led': evb64260.c:363:6: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk --- diff --git a/board/evb64260/evb64260.c b/board/evb64260/evb64260.c index 80756a5cdf..393320ac18 100644 --- a/board/evb64260/evb64260.c +++ b/board/evb64260/evb64260.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include "eth.h" @@ -360,7 +361,7 @@ debug_led(int led, int mode) { #if !defined(CONFIG_ZUMA_V2) && !defined(CONFIG_P3G4) volatile int *addr = NULL; - int dummy; + __maybe_unused int dummy; if (mode == 1) { switch (led) {