Windows: modification to make Coverity happy!

This commit is contained in:
Mounir IDRASSI 2016-08-16 14:21:19 +02:00
parent 625259d226
commit e47f94cb43
No known key found for this signature in database
GPG Key ID: DD0C382D5FCFB8FC

View File

@ -4641,8 +4641,7 @@ static BOOL Mount (HWND hwndDlg, int nDosDriveNo, wchar_t *szFileName, int pim)
// If keyfiles are enabled, test empty password first
if (!mounted && KeyFilesEnable && FirstKeyFile && bEffectiveTryEmptyPasswordWhenKeyfileUsed)
{
Password emptyPassword;
emptyPassword.Length = 0;
Password emptyPassword = {0};
KeyFilesApply (hwndDlg, &emptyPassword, FirstKeyFile, szFileName);
// try TrueCrypt mode first since it is quick, only if no custom pim specified