From 17bd580630fe56d48daaf017f01912064658c123 Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Wed, 11 Apr 2018 22:07:21 +0200 Subject: Remove: NO_DEBUG_MESSAGES was only read and setting it broke compilation (#6703) Given any speed issue cannot be attributed to checking for _debug_NNN_level, removing this is a safe action This fixes #6652. --- src/thread/thread_morphos.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/thread/thread_morphos.cpp') diff --git a/src/thread/thread_morphos.cpp b/src/thread/thread_morphos.cpp index 6d00d0579..e368663f7 100644 --- a/src/thread/thread_morphos.cpp +++ b/src/thread/thread_morphos.cpp @@ -50,14 +50,10 @@ struct OTTDThreadStartupMessage { * Default OpenTTD STDIO/ERR debug output is not very useful for this, so we * utilize serial/ramdebug instead. */ -#ifndef NO_DEBUG_MESSAGES void KPutStr(CONST_STRPTR format) { RawDoFmt(format, NULL, (void (*)())RAWFMTFUNC_SERIAL, NULL); } -#else -#define KPutStr(x) -#endif /** -- cgit v1.2.3-54-g00ecf