diff options
author | Carl Hetherington <carl@carlh.net> | 2009-07-21 15:55:17 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-07-21 15:55:17 +0000 |
commit | b65f8073ba306ac2d85133875746767e7c6b0eb6 (patch) | |
tree | 86e598b4cfe92aa8eaca558b85e1a4c397fa3f0e /libs/surfaces/generic_midi/midicontrollable.cc | |
parent | f41149628955fc8145bef6db0c110b71664c0a3a (diff) |
Fix some unused parameter warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@5403 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces/generic_midi/midicontrollable.cc')
-rw-r--r-- | libs/surfaces/generic_midi/midicontrollable.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/surfaces/generic_midi/midicontrollable.cc b/libs/surfaces/generic_midi/midicontrollable.cc index 204332fc4b..9d80915ef6 100644 --- a/libs/surfaces/generic_midi/midicontrollable.cc +++ b/libs/surfaces/generic_midi/midicontrollable.cc @@ -160,7 +160,7 @@ MIDIControllable::midi_sense_note_off (Parser &p, EventTwoBytes *tb) } void -MIDIControllable::midi_sense_note (Parser &p, EventTwoBytes *msg, bool is_on) +MIDIControllable::midi_sense_note (Parser &, EventTwoBytes *msg, bool is_on) { if (!bistate) { controllable.set_value (msg->note_number/127.0); @@ -202,7 +202,7 @@ MIDIControllable::midi_sense_controller (Parser &, EventTwoBytes *msg) } void -MIDIControllable::midi_sense_program_change (Parser &p, byte msg) +MIDIControllable::midi_sense_program_change (Parser &, byte msg) { /* XXX program change messages make no sense for bistates */ @@ -213,7 +213,7 @@ MIDIControllable::midi_sense_program_change (Parser &p, byte msg) } void -MIDIControllable::midi_sense_pitchbend (Parser &p, pitchbend_t pb) +MIDIControllable::midi_sense_pitchbend (Parser &, pitchbend_t pb) { /* pitchbend messages make no sense for bistates */ @@ -224,7 +224,7 @@ MIDIControllable::midi_sense_pitchbend (Parser &p, pitchbend_t pb) } void -MIDIControllable::midi_receiver (Parser &p, byte *msg, size_t len) +MIDIControllable::midi_receiver (Parser &, byte *msg, size_t /*len*/) { /* we only respond to channel messages */ @@ -342,7 +342,7 @@ MIDIControllable::send_feedback () } MIDI::byte* -MIDIControllable::write_feedback (MIDI::byte* buf, int32_t& bufsize, bool force) +MIDIControllable::write_feedback (MIDI::byte* buf, int32_t& bufsize, bool /*force*/) { if (control_type != none && feedback && bufsize > 2) { |