From 2f48997dfbda7e89f9e4eabe27797321c896cb5b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 7 Dec 2015 12:03:32 -0500 Subject: [PATCH] remove unnecessary (?) conditional. Given that we use "port" after the test, the test makes no sense --- libs/surfaces/faderport/faderport.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libs/surfaces/faderport/faderport.cc b/libs/surfaces/faderport/faderport.cc index cf8cd2eff2..97155480e7 100644 --- a/libs/surfaces/faderport/faderport.cc +++ b/libs/surfaces/faderport/faderport.cc @@ -680,10 +680,7 @@ FaderPort::midi_input_handler (Glib::IOCondition ioc, boost::shared_ptrclear (); - } - + port->clear (); DEBUG_TRACE (DEBUG::FaderPort, string_compose ("data available on %1\n", boost::shared_ptr(port)->name())); framepos_t now = session->engine().sample_time(); port->parse (now);