From 884ac1205079f391e124e33e0f5e827873688aae Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Tue, 1 Sep 2020 11:12:02 +0300 Subject: ADLMIDI2: Fixed build with disabled embedded banks mode --- utils/adlmidi-2/midiplay.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/utils/adlmidi-2/midiplay.cc b/utils/adlmidi-2/midiplay.cc index ed62c3d..8a39f2f 100644 --- a/utils/adlmidi-2/midiplay.cc +++ b/utils/adlmidi-2/midiplay.cc @@ -1357,7 +1357,7 @@ AdlInstrumentTester::AdlInstrumentTester(ADL_MIDIPlayer *device) p->cur_note = -1; p->device = device; #else - ADL_UNUSED(device); + (void)(device); #endif } @@ -1387,7 +1387,7 @@ void AdlInstrumentTester::DoNote(int note) adl_rt_noteOn(p->device, p->play_chan, note, 127); p->cur_note = note; #else - ADL_UNUSED(note); + (void)(note); #endif } @@ -1417,7 +1417,7 @@ void AdlInstrumentTester::NextGM(int offset) printIntst(); #else - ADL_UNUSED(offset); + (void)(offset); #endif } @@ -1451,7 +1451,7 @@ void AdlInstrumentTester::NextAdl(int offset) printIntst(); #else - ADL_UNUSED(offset); + (void)(offset); #endif } @@ -1501,7 +1501,7 @@ bool AdlInstrumentTester::HandleInputChar(char ch) DoNote((int)(p - notes) + 48); } #else - ADL_UNUSED(ch); + (void)(ch); #endif return true; } -- cgit v1.2.3