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

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: default avatarWolfgang Denk <wd@denx.de>
parent d3a1b1bc
No related branches found
No related tags found
No related merge requests found
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include <galileo/gt64260R.h> #include <galileo/gt64260R.h>
#include <net.h> #include <net.h>
#include <netdev.h> #include <netdev.h>
#include <linux/compiler.h>
#include <asm/io.h> #include <asm/io.h>
#include "eth.h" #include "eth.h"
...@@ -360,7 +361,7 @@ debug_led(int led, int mode) ...@@ -360,7 +361,7 @@ debug_led(int led, int mode)
{ {
#if !defined(CONFIG_ZUMA_V2) && !defined(CONFIG_P3G4) #if !defined(CONFIG_ZUMA_V2) && !defined(CONFIG_P3G4)
volatile int *addr = NULL; volatile int *addr = NULL;
int dummy; __maybe_unused int dummy;
if (mode == 1) { if (mode == 1) {
switch (led) { switch (led) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment