mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-09 01:56: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)
|
FilePath Application::GetConfigFilePath (const wxString &configFileName, bool createConfigDir)
|
||||||
{
|
{
|
||||||
wxStandardPaths& stdPaths = wxStandardPaths::Get();
|
|
||||||
DirectoryPath configDir;
|
DirectoryPath configDir;
|
||||||
|
|
||||||
if (!Core->IsInPortableMode())
|
if (!Core->IsInPortableMode())
|
||||||
@@ -46,6 +45,7 @@ namespace VeraCrypt
|
|||||||
configPath.Normalize();
|
configPath.Normalize();
|
||||||
configDir = wstring (configPath.GetFullPath());
|
configDir = wstring (configPath.GetFullPath());
|
||||||
#else
|
#else
|
||||||
|
wxStandardPaths& stdPaths = wxStandardPaths::Get();
|
||||||
configDir = wstring (stdPaths.GetUserDataDir());
|
configDir = wstring (stdPaths.GetUserDataDir());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user