mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 20:55:48 +01:00
remove unnecessary (?) conditional.
Given that we use "port" after the test, the test makes no sense
This commit is contained in:
parent
41b2de41d6
commit
2f48997dfb
1 changed files with 1 additions and 4 deletions
|
|
@ -680,10 +680,7 @@ FaderPort::midi_input_handler (Glib::IOCondition ioc, boost::shared_ptr<ARDOUR::
|
|||
|
||||
if (ioc & IO_IN) {
|
||||
|
||||
if (port) {
|
||||
port->clear ();
|
||||
}
|
||||
|
||||
port->clear ();
|
||||
DEBUG_TRACE (DEBUG::FaderPort, string_compose ("data available on %1\n", boost::shared_ptr<MIDI::Port>(port)->name()));
|
||||
framepos_t now = session->engine().sample_time();
|
||||
port->parse (now);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue