From: Oliver Schmidt Date: Thu, 9 May 2013 12:24:13 +0000 (+0200) Subject: Allow for warning-free build of libraries. X-Git-Tag: V2.14~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4d35517f79eea1e9213d52b37a7a1233a0cecbb9;p=cc65 Allow for warning-free build of libraries. --- diff --git a/libsrc/dbg/dbg.c b/libsrc/dbg/dbg.c index 32a0cfba0..e6d8c5c88 100644 --- a/libsrc/dbg/dbg.c +++ b/libsrc/dbg/dbg.c @@ -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; }