Mercurial > hg > svcore
comparison 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 |
comparison
equal
deleted
inserted
replaced
952:ad14e7ed096d | 953:f5810f1270ae |
---|---|
619 i != pathList.end(); ++i) { | 619 i != pathList.end(); ++i) { |
620 lrdfPaths.push_back(*i + "/rdf"); | 620 lrdfPaths.push_back(*i + "/rdf"); |
621 } | 621 } |
622 | 622 |
623 baseUri = LADSPA_BASE; | 623 baseUri = LADSPA_BASE; |
624 #else | |
625 baseUri = ""; | |
624 #endif | 626 #endif |
625 | 627 |
626 return lrdfPaths; | 628 return lrdfPaths; |
627 } | 629 } |
628 | 630 |
875 generateTaxonomy(uris->items[i], | 877 generateTaxonomy(uris->items[i], |
876 base + (base.length() > 0 ? " > " : "") + label); | 878 base + (base.length() > 0 ? " > " : "") + label); |
877 } | 879 } |
878 lrdf_free_uris(uris); | 880 lrdf_free_uris(uris); |
879 } | 881 } |
882 #else | |
883 // avoid unused parameter | |
884 (void)uri; | |
885 (void)base; | |
880 #endif | 886 #endif |
881 } | 887 } |
882 | 888 |
883 QString | 889 QString |
884 LADSPAPluginFactory::getPluginCategory(QString identifier) | 890 LADSPAPluginFactory::getPluginCategory(QString identifier) |