13
0

Fix warnings.

git-svn-id: svn://localhost/ardour2/branches/3.0@10124 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-09-26 15:01:19 +00:00
parent 58ded03f8f
commit fa9e3b3165

View File

@ -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 */