comment libardour functions that are not used in external scanner.
authorRobin Gareus <robin@gareus.org>
Fri, 14 Mar 2014 19:18:02 +0000 (20:18 +0100)
committerRobin Gareus <robin@gareus.org>
Fri, 14 Mar 2014 19:18:24 +0000 (20:18 +0100)
libs/ardour/vst_info_file.cc

index a0426edad1bac8d40f7b27ef4f0abd1e9c5f9fb6..b005190e8f0c95dacb5f75b79fc31a565e56408b 100644 (file)
@@ -125,12 +125,13 @@ vstfx_infofile_path (const char* dllpath, int personal)
        return vstfx_cache_file(dllpath, personal, EXT_INFOFILE);
 }
 
+#ifndef VST_SCANNER_APP
 static string
 vstfx_errorfile_path (const char* dllpath, int personal)
 {
        return vstfx_cache_file(dllpath, personal, EXT_ERRORFILE);
 }
-
+#endif
 
 
 /* *** MEMORY MANAGEMENT *** */
@@ -406,6 +407,7 @@ vstfx_un_blacklist (const char *dllpath)
        ::g_unlink(vstfx_blacklist_path (dllpath, 1).c_str());
 }
 
+#ifndef VST_SCANNER_APP
 /** remove info file from cache */
 static void
 vstfx_remove_infofile (const char *dllpath)
@@ -413,6 +415,7 @@ vstfx_remove_infofile (const char *dllpath)
        ::g_unlink(vstfx_infofile_path (dllpath, 0).c_str());
        ::g_unlink(vstfx_infofile_path (dllpath, 1).c_str());
 }
+#endif
 
 /** helper function, check if cache is newer than plugin
  * @return path to cache file */