From: Oliver Schmidt Date: Mon, 6 May 2013 21:31:00 +0000 (+0200) Subject: Added reference to unused variable to avoid GCC 4.6 warning. X-Git-Tag: V2.14~20 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2e7fdb23ee299e0b8607642189145fc86a9ae4e1;p=cc65 Added reference to unused variable to avoid GCC 4.6 warning. --- 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;