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.
This commit is contained in:
Patric Stout
2018-04-11 22:07:21 +02:00
committed by GitHub
parent 66f67ac5ac
commit 17bd580630
6 changed files with 23 additions and 42 deletions

View File

@@ -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
/**