fix crash when trying to create a non-template track/bus with >2 channels; put MIDI...
[ardour.git] / gtk2_ardour / ghostregion.cc
index cfd9d3ea438e1f7e4ad880cc634410638ecd74e1..9d3d81eb0000c20434481f6ae335f1a01fa88f5f 100644 (file)
@@ -215,7 +215,7 @@ MidiGhostRegion::Hit::x_changed()
 }
 
 void
-MidiGhostRegion::set_samples_per_unit (double spu)
+MidiGhostRegion::set_samples_per_unit (double /*spu*/)
 {
 }
 
@@ -310,7 +310,7 @@ MidiGhostRegion::add_note(ArdourCanvas::CanvasNote* n)
 }
 
 void
-MidiGhostRegion::add_hit(ArdourCanvas::CanvasHit* h)
+MidiGhostRegion::add_hit(ArdourCanvas::CanvasHit* /*h*/)
 {
        //events.push_back(new Hit(h, group));
 }