From 4d35517f79eea1e9213d52b37a7a1233a0cecbb9 Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Thu, 9 May 2013 14:24:13 +0200
Subject: [PATCH] Allow for warning-free build of libraries.
---
libsrc/dbg/dbg.c | 4 ++++
1 file changed, 4 insertions(+)
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;
}
--
2.39.5