From 5838bcbe7cdd5997c754909a962c80df73c584af Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 4 Apr 2021 17:55:01 -0600 Subject: [PATCH] clean up unsafe use of printf() by commenting it out --- libs/ardour/smf_source.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/ardour/smf_source.cc b/libs/ardour/smf_source.cc index 43149aaab6..dfaabc2c89 100644 --- a/libs/ardour/smf_source.cc +++ b/libs/ardour/smf_source.cc @@ -463,9 +463,9 @@ SMFSource::append_event_samples (const Glib::Threads::Mutex::Lock& lock, return; } - printf("SMFSource: %s - append_event_samples ID = %d time = %u, size = %u, data = ", - name().c_str(), ev.id(), ev.time(), ev.size()); - for (size_t i=0; i < ev.size(); ++i) printf("%X ", ev.buffer()[i]); printf("\n"); + // printf("SMFSource: %s - append_event_samples ID = %d time = %u, size = %u, data = ", + // name().c_str(), ev.id(), ev.time(), ev.size()); + // for (size_t i=0; i < ev.size(); ++i) printf("%X ", ev.buffer()[i]); printf("\n"); if (ev.time() < _last_ev_time_samples) { warning << string_compose(_("Skipping event with unordered sample time %1 < %2"),