VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-10-26 17:25:31 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:24:49 +0100
commitce7fab744bbb575dc29956254851b516c5cffc7f (patch)
treedbad4236f570a33e22487a27b6dd9e778c93f816 /src
parent65e4b3a91b2b009a9014a0d41ed664a880431a23 (diff)
downloadVeraCrypt-ce7fab744bbb575dc29956254851b516c5cffc7f.tar.gz
VeraCrypt-ce7fab744bbb575dc29956254851b516c5cffc7f.zip
MacOSX: fix warning by displacing declaration of variable used only under Linux
Diffstat (limited to 'src')
-rw-r--r--src/Main/Application.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main/Application.cpp b/src/Main/Application.cpp
index 2d7db155..e579142b 100644
--- a/src/Main/Application.cpp
+++ b/src/Main/Application.cpp
@@ -36,7 +36,6 @@ namespace VeraCrypt
FilePath Application::GetConfigFilePath (const wxString &configFileName, bool createConfigDir)
{
- wxStandardPaths& stdPaths = wxStandardPaths::Get();
DirectoryPath configDir;
if (!Core->IsInPortableMode())
@@ -46,6 +45,7 @@ namespace VeraCrypt
configPath.Normalize();
configDir = wstring (configPath.GetFullPath());
#else
+ wxStandardPaths& stdPaths = wxStandardPaths::Get();
configDir = wstring (stdPaths.GetUserDataDir());
#endif
}