Fix some warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@5663 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
bf0a99f0c0
commit
7b14a4230b
|
@ -1437,7 +1437,7 @@ NoteResizeDrag::start_grab (GdkEvent* event, Gdk::Cursor *)
|
|||
}
|
||||
|
||||
void
|
||||
NoteResizeDrag::motion (GdkEvent* /*event*/, bool first_move)
|
||||
NoteResizeDrag::motion (GdkEvent* /*event*/, bool /*first_move*/)
|
||||
{
|
||||
MidiRegionSelection& ms (_editor->get_selection().midi_regions);
|
||||
for (MidiRegionSelection::iterator r = ms.begin(); r != ms.end(); ++r) {
|
||||
|
@ -1446,7 +1446,7 @@ NoteResizeDrag::motion (GdkEvent* /*event*/, bool first_move)
|
|||
}
|
||||
|
||||
void
|
||||
NoteResizeDrag::finished (GdkEvent* event, bool movement_occurred)
|
||||
NoteResizeDrag::finished (GdkEvent*, bool /*movement_occurred*/)
|
||||
{
|
||||
MidiRegionSelection& ms (_editor->get_selection().midi_regions);
|
||||
for (MidiRegionSelection::iterator r = ms.begin(); r != ms.end(); ++r) {
|
||||
|
@ -3413,7 +3413,7 @@ NoteDrag::start_grab (GdkEvent* event, Gdk::Cursor *)
|
|||
}
|
||||
|
||||
void
|
||||
NoteDrag::motion (GdkEvent* ev, bool)
|
||||
NoteDrag::motion (GdkEvent*, bool)
|
||||
{
|
||||
MidiStreamView* streamview = region->midi_stream_view();
|
||||
double event_x;
|
||||
|
|
|
@ -1813,7 +1813,7 @@ MidiRegionView::frames_to_beats(nframes64_t frames) const
|
|||
}
|
||||
|
||||
void
|
||||
MidiRegionView::begin_resizing(bool at_front)
|
||||
MidiRegionView::begin_resizing (bool /*at_front*/)
|
||||
{
|
||||
_resize_data.clear();
|
||||
|
||||
|
@ -2267,7 +2267,7 @@ MidiRegionView::note_entered(ArdourCanvas::CanvasNoteEvent* ev)
|
|||
}
|
||||
|
||||
void
|
||||
MidiRegionView::note_left (ArdourCanvas::CanvasNoteEvent* ev)
|
||||
MidiRegionView::note_left (ArdourCanvas::CanvasNoteEvent*)
|
||||
{
|
||||
PublicEditor& editor (trackview.editor());
|
||||
editor.hide_verbose_canvas_cursor ();
|
||||
|
|
|
@ -21,7 +21,7 @@ public:
|
|||
|
||||
~DummyTypeMap() {}
|
||||
|
||||
bool type_is_midi(uint32_t type) const {return true;}
|
||||
bool type_is_midi (uint32_t /*type*/) const {return true;}
|
||||
|
||||
uint8_t parameter_midi_type(const Parameter& param) const {
|
||||
switch (param.type()) {
|
||||
|
@ -40,7 +40,7 @@ public:
|
|||
};
|
||||
}
|
||||
|
||||
bool is_integer(const Evoral::Parameter& param) const {return true;}
|
||||
bool is_integer (const Evoral::Parameter& /*param*/) const {return true;}
|
||||
|
||||
Parameter new_parameter(uint32_t type, uint8_t channel, uint32_t id) const {
|
||||
Parameter p(type, channel, id);
|
||||
|
@ -48,7 +48,7 @@ public:
|
|||
return p;
|
||||
}
|
||||
|
||||
std::string to_symbol(const Parameter& param) const {return "control";}
|
||||
std::string to_symbol(const Parameter& /*param*/) const {return "control";}
|
||||
};
|
||||
|
||||
template<typename Time>
|
||||
|
@ -81,7 +81,7 @@ public:
|
|||
}
|
||||
|
||||
uint32_t assertLastEventTimeEarlier(
|
||||
Time time, EventType type, uint32_t size, const uint8_t* buf) {
|
||||
Time time, EventType /*type*/, uint32_t /*size*/, const uint8_t* /*buf*/) {
|
||||
CPPUNIT_ASSERT(_last_event_time <= time);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue