13
0

vst2: drop unused vst2_suffix static function

Address build warning:

../libs/fst/../ardour/vst2_scan.cc:549:20: warning: ‘std::string vst2_suffix()’ defined but not used [-Wunused-function]
  549 | static std::string vst2_suffix () {
      |                    ^~~~~~~~~~~
This commit is contained in:
Mads Kiilerich 2021-12-02 22:47:49 +01:00
parent a55ee74c4e
commit 197ec7a943

View File

@ -546,16 +546,6 @@ discover_vst2 (std::string const& path, ARDOUR::PluginType type, std::vector<ARD
return true;
}
static std::string vst2_suffix () {
#ifdef __APPLE__
return "";
#elif defined PLATFORM_WINDOWS
return ".dll";
#else // Linux
return ".so";
#endif
}
static string
vst2_info_cache_dir ()
{