]> git.sur5r.net Git - cc65/commitdiff
Allow for warning-free build of libraries.
authorOliver Schmidt <ol.sc@web.de>
Thu, 9 May 2013 12:24:13 +0000 (14:24 +0200)
committerOliver Schmidt <ol.sc@web.de>
Thu, 9 May 2013 12:24:13 +0000 (14:24 +0200)
libsrc/dbg/dbg.c

index 32a0cfba0494d67151e0904903209575f276e48d..e6d8c5c88587a6b307ea642b52d514fffeabb205 100644 (file)
@@ -518,6 +518,10 @@ static char IsAbortKey (char C)
     if (C == CH_STOP) {
         return 1;
     }
+#endif
+#if !defined(CH_ESC) && !defined(CH_STOP)
+    /* Avoid compiler warning about unused parameter */
+    (void) C;
 #endif
     return 0;
 }