From 511114a36510db5d1e55261fd07c8a4bc0f705b8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 1 May 2008 21:16:31 +0000 Subject: GCC 4.3 fixes. git-svn-id: http://svn.drobilla.net/lad/ingen@1191 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/events/CreatePortEvent.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libs/engine/events') diff --git a/src/libs/engine/events/CreatePortEvent.cpp b/src/libs/engine/events/CreatePortEvent.cpp index 3cdda4d1..7c7d671b 100644 --- a/src/libs/engine/events/CreatePortEvent.cpp +++ b/src/libs/engine/events/CreatePortEvent.cpp @@ -142,13 +142,14 @@ CreatePortEvent::execute(ProcessContext& context) _patch->external_ports(_ports_array); } - if (_driver_port) + if (_driver_port) { if (_type == "ingen:AudioPort") _engine.audio_driver()->add_port(_driver_port); else if (_type == "ingen:MIDIPort") _engine.midi_driver()->add_port(_driver_port); else if (_type == "ingen:OSCPort") cerr << "OSC DRIVER PORT" << endl; + } if (_source) _source->unblock(); -- cgit v1.2.1