Skip to content

Commit

Permalink
[warnings] More build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Jan 10, 2024
1 parent 359ad1e commit af2420a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/libremidi/backends/coremidi_ump/midi_in.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ class midi_in_impl final
}
}

void set_timestamp(const MIDIEventPacket& packet, libremidi::ump& msg) noexcept { }
void set_timestamp(const MIDIEventPacket& packet, [[maybe_unused]] libremidi::ump& msg) noexcept
{
}

void midiInputCallback(const MIDIEventList* list, void* /*srcRef*/)
{
Expand Down

0 comments on commit af2420a

Please sign in to comment.