From 2e7fdb23ee299e0b8607642189145fc86a9ae4e1 Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Mon, 6 May 2013 23:31:00 +0200 Subject: [PATCH] Added reference to unused variable to avoid GCC 4.6 warning. --- src/common/searchpath.c | 5 +++++ src/sp65/koala.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/common/searchpath.c b/src/common/searchpath.c index 47dc3dfc9..484d4a061 100644 --- a/src/common/searchpath.c +++ b/src/common/searchpath.c @@ -195,6 +195,11 @@ void AddSubSearchPathFromWinBin (SearchPath* P, const char* SubDir) /* Add the search path */ AddSearchPath (P, Dir); +#else + + (void) P; + (void) SubDir; + #endif } diff --git a/src/sp65/koala.c b/src/sp65/koala.c index 17beee91a..d66969348 100644 --- a/src/sp65/koala.c +++ b/src/sp65/koala.c @@ -96,7 +96,7 @@ StrBuf* GenKoala (const Bitmap* B, const Collection* A attribute ((unused))) SB_AppendChar (D, 0x44); /* TODO: The actual work ;-) */ - (void)Screen; + (void) Screen; /* Return the converted bitmap */ return D; -- 2.39.2