# HG changeset patch # User Chris Cannam # Date 1407919842 -3600 # Node ID f5810f1270ae64d2a814c55f7d56cc7cfe11192b # Parent ad14e7ed096da9f3819371e0ac49082b6b34d4fa Avoid compiler warnings when building without lrdf diff -r ad14e7ed096d -r f5810f1270ae plugin/DSSIPluginFactory.cpp --- a/plugin/DSSIPluginFactory.cpp Mon Aug 11 11:30:18 2014 +0100 +++ b/plugin/DSSIPluginFactory.cpp Wed Aug 13 09:50:42 2014 +0100 @@ -274,6 +274,9 @@ #else baseUri = "http://dssi.sourceforge.net/ontology#"; #endif +#else + // avoid unused parameter + baseUri = ""; #endif return lrdfPaths; diff -r ad14e7ed096d -r f5810f1270ae plugin/LADSPAPluginFactory.cpp --- 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 }