summaryrefslogtreecommitdiff
path: root/libs/ardour/ladspa_plugin.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-12-25 17:30:39 -0500
committerDavid Robillard <d@drobilla.net>2014-12-25 20:07:57 -0500
commit7e25f215953a91c41f797ceab3ac658c665f100b (patch)
treea24e14a99a66633fb2b4d13cb65606852dba1112 /libs/ardour/ladspa_plugin.cc
parent12a7f12b0bcee20b6041b7ece27a120b130271c2 (diff)
Conditionally remove possibly unused functions.
Diffstat (limited to 'libs/ardour/ladspa_plugin.cc')
-rw-r--r--libs/ardour/ladspa_plugin.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/ladspa_plugin.cc b/libs/ardour/ladspa_plugin.cc
index 8b2a4f75df..db28d6d199 100644
--- a/libs/ardour/ladspa_plugin.cc
+++ b/libs/ardour/ladspa_plugin.cc
@@ -792,11 +792,11 @@ LadspaPlugin::load_preset (PresetRecord r)
return true;
}
+#ifdef HAVE_LRDF
/* XXX: should be in liblrdf */
static void
lrdf_remove_preset (const char* /*source*/, const char *setting_uri)
{
-#ifdef HAVE_LRDF
lrdf_statement p;
lrdf_statement *q;
lrdf_statement *i;
@@ -830,8 +830,8 @@ lrdf_remove_preset (const char* /*source*/, const char *setting_uri)
p.predicate = NULL;
p.object = NULL;
lrdf_remove_matches (&p);
-#endif
}
+#endif
void
LadspaPlugin::do_remove_preset (string name)