Mercurial > hg > svcore
diff plugin/LADSPAPluginFactory.cpp @ 953:f5810f1270ae
Avoid compiler warnings when building without lrdf
author | Chris Cannam |
---|---|
date | Wed, 13 Aug 2014 09:50:42 +0100 |
parents | 59e7fe1b1003 |
children | 7aa9088e9bcd |
line wrap: on
line diff
--- a/plugin/LADSPAPluginFactory.cpp Mon Aug 11 11:30:18 2014 +0100 +++ b/plugin/LADSPAPluginFactory.cpp Wed Aug 13 09:50:42 2014 +0100 @@ -621,6 +621,8 @@ } baseUri = LADSPA_BASE; +#else + baseUri = ""; #endif return lrdfPaths; @@ -877,6 +879,10 @@ } lrdf_free_uris(uris); } +#else + // avoid unused parameter + (void)uri; + (void)base; #endif }