mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-05 16:46:35 -05:00
MacOSX: fix warning by displacing declaration of variable used only under Linux
This commit is contained in:
1 parent
65e4b3a91b
commit
ce7fab744b
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user