diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-09-29 10:00:23 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-10-02 18:04:40 -0600 |
commit | f470d3e856e7dee3c6003aeff0c98005822c5f90 (patch) | |
tree | 20b9f2d212195a2a7f04442e4365d6715e05e385 /libs/ardour/luaproc.cc | |
parent | bc3b65834991b126843e85618c2f5d1d3c7e9389 (diff) |
remove all use of NO_PLUGIN_STATE #ifdef
We determined several years that we should never ever do this,
and changed the basis for the free/demo copy because of that.
Diffstat (limited to 'libs/ardour/luaproc.cc')
-rw-r--r-- | libs/ardour/luaproc.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libs/ardour/luaproc.cc b/libs/ardour/luaproc.cc index 59409e097e..64c7ca6c7c 100644 --- a/libs/ardour/luaproc.cc +++ b/libs/ardour/luaproc.cc @@ -848,11 +848,9 @@ LuaProc::set_script_from_state (const XMLNode& node) int LuaProc::set_state (const XMLNode& node, int version) { -#ifndef NO_PLUGIN_STATE XMLNodeList nodes; XMLNodeConstIterator iter; XMLNode *child; -#endif if (_script.empty ()) { if (set_script_from_state (node)) { @@ -860,7 +858,6 @@ LuaProc::set_state (const XMLNode& node, int version) } } -#ifndef NO_PLUGIN_STATE if (node.name() != state_node_name()) { error << _("Bad node sent to LuaProc::set_state") << endmsg; return -1; @@ -885,7 +882,6 @@ LuaProc::set_state (const XMLNode& node, int version) set_parameter (port_id, value); } -#endif return Plugin::set_state (node, version); } |