MacOSX: fix warning by displacing declaration of variable used only under Linux

This commit is contained in:
Mounir IDRASSI 2014-10-26 17:25:31 +01:00
parent 65e4b3a91b
commit ce7fab744b

View File

@ -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
}