From 0938a42440cc82ce8d0cb064840c258c863714ab Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 30 Sep 2011 17:55:14 +0000 Subject: fixes for 98% of all the warnings/errors reported by OS X gcc on tiger git-svn-id: svn://localhost/ardour2/branches/3.0@10179 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/midi_playlist_source.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libs/ardour/midi_playlist_source.cc') diff --git a/libs/ardour/midi_playlist_source.cc b/libs/ardour/midi_playlist_source.cc index 3b2c8dbb48..6270ad4339 100644 --- a/libs/ardour/midi_playlist_source.cc +++ b/libs/ardour/midi_playlist_source.cc @@ -58,7 +58,7 @@ on other ways to approach this issue. ********************************************************************************/ MidiPlaylistSource::MidiPlaylistSource (Session& s, const ID& orig, const std::string& name, boost::shared_ptr p, - uint32_t chn, frameoffset_t begin, framecnt_t len, Source::Flag flags) + uint32_t /*chn*/, frameoffset_t begin, framecnt_t len, Source::Flag flags) : Source (s, DataType::MIDI, name) , MidiSource (s, name, flags) , PlaylistSource (s, orig, name, p, DataType::MIDI, begin, len, flags) @@ -128,9 +128,9 @@ MidiPlaylistSource::length (framepos_t) const framepos_t MidiPlaylistSource::read_unlocked (Evoral::EventSink& dst, - framepos_t position, + framepos_t /*position*/, framepos_t start, framecnt_t cnt, - MidiStateTracker* tracker) const + MidiStateTracker*) const { boost::shared_ptr mp = boost::dynamic_pointer_cast (_playlist); @@ -143,8 +143,8 @@ MidiPlaylistSource::read_unlocked (Evoral::EventSink& dst, framepos_t MidiPlaylistSource::write_unlocked (MidiRingBuffer& dst, - framepos_t position, - framecnt_t cnt) + framepos_t, + framecnt_t) { fatal << string_compose (_("programming error: %1"), "MidiPlaylistSource::write_unlocked() called - should be impossible") << endmsg; /*NOTREACHED*/ @@ -159,7 +159,7 @@ MidiPlaylistSource::append_event_unlocked_beats(const Evoral::Event& ev, framepos_t source_start) +MidiPlaylistSource::append_event_unlocked_frames(const Evoral::Event& /* ev */, framepos_t /*source_start*/) { fatal << string_compose (_("programming error: %1"), "MidiPlaylistSource::append_event_unlocked_frames() called - should be impossible") << endmsg; /*NOTREACHED*/ -- cgit v1.2.3