From fa9e3b3165f3a788a66d8ee18d77e624208fa3b2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 26 Sep 2011 15:01:19 +0000 Subject: Fix warnings. git-svn-id: svn://localhost/ardour2/branches/3.0@10124 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/lxvst_plugin.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libs/ardour/lxvst_plugin.cc') diff --git a/libs/ardour/lxvst_plugin.cc b/libs/ardour/lxvst_plugin.cc index 30f0ff47ab..737d1c7360 100755 --- a/libs/ardour/lxvst_plugin.cc +++ b/libs/ardour/lxvst_plugin.cc @@ -254,7 +254,6 @@ LXVSTPlugin::set_state (const XMLNode& node, int version) if ((child = find_named_node (node, X_("chunk"))) != 0) { XMLPropertyList::const_iterator i; XMLNodeList::const_iterator n; - int ret = -1; for (n = child->children ().begin (); n != child->children ().end (); ++n) { if ((*n)->is_content ()) { @@ -292,11 +291,8 @@ LXVSTPlugin::set_state (const XMLNode& node, int version) int LXVSTPlugin::get_parameter_descriptor (uint32_t which, ParameterDescriptor& desc) const { - VstParameterProperties prop; - desc.min_unbound = false; desc.max_unbound = false; - prop.flags = 0; /* old style */ -- cgit v1.2.3