From: Wolfgang Denk Date: Sat, 5 Nov 2011 05:13:18 +0000 (+0000) Subject: board/funkwerk/vovpn-gw/vovpn-gw.c: Fix GCC 4.6 build warning X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=7aeda21a172a3c2ffaa7376f5945368d4c67b7cc;p=u-boot.git board/funkwerk/vovpn-gw/vovpn-gw.c: Fix GCC 4.6 build warning Fix: vovpn-gw.c: In function 'misc_init_r': vovpn-gw.c:266:16: warning: variable 'temp' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk --- diff --git a/board/funkwerk/vovpn-gw/vovpn-gw.c b/board/funkwerk/vovpn-gw/vovpn-gw.c index a4bfbc9780..57bd21fc29 100644 --- a/board/funkwerk/vovpn-gw/vovpn-gw.c +++ b/board/funkwerk/vovpn-gw/vovpn-gw.c @@ -25,6 +25,7 @@ #include #include #include +#include #include "m88e6060.h" @@ -263,7 +264,7 @@ int board_early_init_f (void) int misc_init_r (void) { volatile ioport_t *iop; - unsigned char temp; + __maybe_unused unsigned char temp; #if 0 /* DUMP UPMA RAM */ volatile immap_t *immap;