diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/debug.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/debug.h b/src/include/debug.h index 245e4dced..783709062 100644 --- a/src/include/debug.h +++ b/src/include/debug.h @@ -57,7 +57,6 @@ extern char *dbglastmsg; extern "C" {
#endif
void chDbgInit(void);
- void chDbgPuts(char *msg);
void chDbgPanic(char *msg);
#ifdef __cplusplus
}
@@ -80,7 +79,7 @@ extern "C" { #define chDbgInit()
#define chDbgPanic(msg) {}
-#define chDbgAssert(c, m) {}
+#define chDbgAssert(c, m) {(void)(c);}
#endif /* CH_USE_DEBUG */
|