summaryrefslogtreecommitdiff
path: root/src/thread
diff options
context:
space:
mode:
authorPatric Stout <truelight@openttd.org>2018-04-11 22:07:21 +0200
committerGitHub <noreply@github.com>2018-04-11 22:07:21 +0200
commit17bd580630fe56d48daaf017f01912064658c123 (patch)
tree7213d7622e25e3e2e75fba484b04306d82af2aaf /src/thread
parent66f67ac5ac6fe3401f7b8d0eb1c75b23f0475c75 (diff)
downloadopenttd-17bd580630fe56d48daaf017f01912064658c123.tar.xz
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.
Diffstat (limited to 'src/thread')
-rw-r--r--src/thread/thread_morphos.cpp4
1 files changed, 0 insertions, 4 deletions
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
/**