Skip to content
Snippets Groups Projects
Commit 7aeda21a authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

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: default avatarWolfgang Denk <wd@denx.de>
parent caf63eb4
No related branches found
No related tags found
No related merge requests found
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <mpc8260.h> #include <mpc8260.h>
#include <asm/m8260_pci.h> #include <asm/m8260_pci.h>
#include <miiphy.h> #include <miiphy.h>
#include <linux/compiler.h>
#include "m88e6060.h" #include "m88e6060.h"
...@@ -263,7 +264,7 @@ int board_early_init_f (void) ...@@ -263,7 +264,7 @@ int board_early_init_f (void)
int misc_init_r (void) int misc_init_r (void)
{ {
volatile ioport_t *iop; volatile ioport_t *iop;
unsigned char temp; __maybe_unused unsigned char temp;
#if 0 #if 0
/* DUMP UPMA RAM */ /* DUMP UPMA RAM */
volatile immap_t *immap; volatile immap_t *immap;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment