diff options
Diffstat (limited to 'libs/ardour/lxvst_plugin.cc')
-rwxr-xr-x | libs/ardour/lxvst_plugin.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/lxvst_plugin.cc b/libs/ardour/lxvst_plugin.cc index 6e30e0c443..80e6b9c286 100755 --- a/libs/ardour/lxvst_plugin.cc +++ b/libs/ardour/lxvst_plugin.cc @@ -32,7 +32,7 @@ LXVSTPlugin::LXVSTPlugin (AudioEngine& e, Session& session, VSTHandle* h) { /* Instantiate the plugin and return a VSTState* */ - if ((_state = vstfx_instantiate (_handle, Session::vst_callback, this)) == 0) { + if (vstfx_instantiate (_handle, Session::vst_callback, this) == 0) { throw failed_constructor(); } @@ -44,7 +44,7 @@ LXVSTPlugin::LXVSTPlugin (const LXVSTPlugin &other) { _handle = other._handle; - if ((_state = vstfx_instantiate (_handle, Session::vst_callback, this)) == 0) { + if (vstfx_instantiate (_handle, Session::vst_callback, this) == 0) { throw failed_constructor(); } _plugin = _state->plugin; |