Conditionally remove possibly unused functions.
This commit is contained in:
parent
12a7f12b0b
commit
7e25f21595
@ -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)
|
||||
|
@ -370,6 +370,7 @@ PluginManager::ladspa_refresh ()
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef HAVE_LRDF
|
||||
static bool rdf_filter (const string &str, void* /*arg*/)
|
||||
{
|
||||
return str[0] != '.' &&
|
||||
@ -378,6 +379,7 @@ static bool rdf_filter (const string &str, void* /*arg*/)
|
||||
(str.find(".n3") == (str.length() - 3)) ||
|
||||
(str.find(".ttl") == (str.length() - 4)));
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
PluginManager::add_ladspa_presets()
|
||||
|
Loading…
Reference in New Issue
Block a user