summaryrefslogtreecommitdiff
path: root/libs/ardour/filesystem_paths.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/filesystem_paths.cc')
-rw-r--r--libs/ardour/filesystem_paths.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/ardour/filesystem_paths.cc b/libs/ardour/filesystem_paths.cc
index 50ef0be314..9005bd01a3 100644
--- a/libs/ardour/filesystem_paths.cc
+++ b/libs/ardour/filesystem_paths.cc
@@ -50,7 +50,7 @@ user_config_directory_name (int version = -1)
}
const string config_dir_name = string_compose ("%1%2", X_(PROGRAM_NAME), version);
-
+
#if defined (__APPLE__) || defined (PLATFORM_WINDOWS)
return config_dir_name;
#else
@@ -61,9 +61,7 @@ user_config_directory_name (int version = -1)
std::string
user_config_directory (int version)
{
- static std::string p;
-
- if (!p.empty()) return p;
+ std::string p;
#ifdef __APPLE__