From 0816018d3642844ab70d63bb463ce8a9edba294a Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Sat, 24 Mar 2018 23:33:39 +0300 Subject: [PATCH] ADLMIDI: Another warning fix --- src/sound/adlmidi/adlmidi.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sound/adlmidi/adlmidi.cpp b/src/sound/adlmidi/adlmidi.cpp index 787c729c4d..3b2143641f 100644 --- a/src/sound/adlmidi/adlmidi.cpp +++ b/src/sound/adlmidi/adlmidi.cpp @@ -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