From 56167788368d247befa7f453fa173e4768b59497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20Rivi=C3=A8re?= Date: Mon, 22 Oct 2012 21:09:53 +0000 Subject: [PATCH] Fixed warning about unused variable. --- BaS_GNU/sources/sysinit.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BaS_GNU/sources/sysinit.c b/BaS_GNU/sources/sysinit.c index 386d8bd..4be2d54 100644 --- a/BaS_GNU/sources/sysinit.c +++ b/BaS_GNU/sources/sysinit.c @@ -12,6 +12,8 @@ #include "cache.h" #include "sysinit.h" +#define UNUSED(x) (void)(x) /* Unused variable */ + extern volatile long _VRAM; /* start address of video ram from linker script */ /* @@ -564,6 +566,8 @@ dvi_ok: uart_out_word('OK! '); uart_out_word(0x0a0d); MCF_I2C_I2CR = 0x0; // i2c off + + UNUSED(DBYT); // Avoid warning }