diff options
author | Robin Gareus <robin@gareus.org> | 2019-09-05 19:04:32 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-09-05 19:29:19 +0200 |
commit | 1d496963796b45284c67222dcc715411b4846452 (patch) | |
tree | 1f21b5abc07a66eecc34d68d92443339027d3d13 /libs/pbd/controllable.cc | |
parent | 9bb2f2bb6994586e77caed9cdee40607d370e428 (diff) |
Reduce stdout/stderr clutter, prefer DEBUG_TRACE
Diffstat (limited to 'libs/pbd/controllable.cc')
-rw-r--r-- | libs/pbd/controllable.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/pbd/controllable.cc b/libs/pbd/controllable.cc index 8464034f5b..5d9b924ab5 100644 --- a/libs/pbd/controllable.cc +++ b/libs/pbd/controllable.cc @@ -136,6 +136,9 @@ void Controllable::dump_registry () { Glib::Threads::RWLock::ReaderLock lm (registry_lock); + if (registry.size() == 0) { + return; + } unsigned int cnt = 0; cout << "-- List Of Registered Controllables\n"; for (Controllables::iterator i = registry.begin(); i != registry.end(); ++i, ++cnt) { |