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

@@ -99,7 +99,6 @@ const char *MusicDriver_DMusic::Start(const char * const *parm)
int port = GetDriverParamInt(parm, "port", -1);
#ifndef NO_DEBUG_MESSAGES
if (_debug_driver_level > 0) {
/* Print all valid output ports. */
char desc[DMUS_MAX_DESCRIPTION];
@@ -116,7 +115,6 @@ const char *MusicDriver_DMusic::Start(const char * const *parm)
}
}
}
#endif
IDirectMusicPort *music_port = NULL; // NULL means 'use default port'.