From b3dd518b224a4d63cb87d11bd306330903c96c63 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 19 Jan 2014 22:18:40 +0100 Subject: [PATCH] remove cruft --- gtk2_ardour/editor_audio_import.cc | 1 - libs/ardour/ardour/session.h | 3 --- 2 files changed, 4 deletions(-) diff --git a/gtk2_ardour/editor_audio_import.cc b/gtk2_ardour/editor_audio_import.cc index 7089372e63..a19a62b337 100644 --- a/gtk2_ardour/editor_audio_import.cc +++ b/gtk2_ardour/editor_audio_import.cc @@ -159,7 +159,6 @@ Editor::check_whether_and_how_to_import(string path, bool all_or_nothing) { string wave_name (Glib::path_get_basename(path)); - SourceMap all_sources = _session->get_sources(); bool already_exists = false; uint32_t existing; diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 9b4fbef774..09421a580b 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -1356,9 +1356,6 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi private: SourceMap sources; - public: - SourceMap get_sources() { return sources; } - private: int load_sources (const XMLNode& node); XMLNode& get_sources_as_xml ();