Mercurial > hg > vamp-plugin-sdk
diff vamp-sdk/hostext/PluginLoader.cpp @ 78:6bf198e06d72 vamp-plugin-sdk-v1.1
* doc updates
author | cannam |
---|---|
date | Thu, 23 Aug 2007 10:31:46 +0000 |
parents | 0f8524203677 |
children | c94c066a4897 |
line wrap: on
line diff
--- a/vamp-sdk/hostext/PluginLoader.cpp Thu Jun 07 14:22:22 2007 +0000 +++ b/vamp-sdk/hostext/PluginLoader.cpp Thu Aug 23 10:31:46 2007 +0000 @@ -525,7 +525,6 @@ PluginLoader::Impl::listFiles(string dir, string extension) { vector<string> files; - size_t extlen = extension.length(); #ifdef _WIN32 @@ -543,6 +542,8 @@ FindClose(fh); #else + + size_t extlen = extension.length(); DIR *d = opendir(dir.c_str()); if (!d) return files;