mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-10 13:13:34 +01:00
MacOSX: fix warning by displacing declaration of variable used only under Linux
This commit is contained in:
parent
65e4b3a91b
commit
ce7fab744b
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user