mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 21:41:03 +00:00
ADLMIDI: Another warning fix
This commit is contained in:
parent
c65a004e08
commit
0816018d36
1 changed files with 2 additions and 0 deletions
|
@ -283,6 +283,7 @@ ADLMIDI_EXPORT int adl_openFile(ADL_MIDIPlayer *device, const char *filePath)
|
|||
}
|
||||
else return 0;
|
||||
#else
|
||||
(void)filePath;
|
||||
play->setErrorString("ADLMIDI: MIDI Sequencer is not supported in this build of library!");
|
||||
return -1;
|
||||
#endif //ADLMIDI_DISABLE_MIDI_SEQUENCER
|
||||
|
@ -308,6 +309,7 @@ ADLMIDI_EXPORT int adl_openData(ADL_MIDIPlayer *device, const void *mem, unsigne
|
|||
}
|
||||
else return 0;
|
||||
#else
|
||||
(void)mem;(void)size;
|
||||
play->setErrorString("ADLMIDI: MIDI Sequencer is not supported in this build of library!");
|
||||
return -1;
|
||||
#endif //ADLMIDI_DISABLE_MIDI_SEQUENCER
|
||||
|
|
Loading…
Reference in a new issue