diff options
author | Patric Stout <truelight@openttd.org> | 2018-04-11 22:07:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-11 22:07:21 +0200 |
commit | 17bd580630fe56d48daaf017f01912064658c123 (patch) | |
tree | 7213d7622e25e3e2e75fba484b04306d82af2aaf /src/debug.cpp | |
parent | 66f67ac5ac6fe3401f7b8d0eb1c75b23f0475c75 (diff) | |
download | openttd-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/debug.cpp')
-rw-r--r-- | src/debug.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/debug.cpp b/src/debug.cpp index 16eecadad..184615225 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -100,8 +100,6 @@ char *DumpDebugFacilityNames(char *buf, char *last) return buf; } -#if !defined(NO_DEBUG_MESSAGES) - /** * Internal function for outputting the debug line. * @param dbg Debug category. @@ -168,7 +166,6 @@ void CDECL debug(const char *dbg, const char *format, ...) debug_print(dbg, buf); } -#endif /* NO_DEBUG_MESSAGES */ /** * Set debugging levels by parsing the text in \a s. |