VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-08-16 14:21:19 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-08-16 19:58:48 +0200
commite47f94cb4329cfefb0a9c4efaa353a1b54268b46 (patch)
treee6a1914aaea1f3c338d157f703b25fe82b4d1d27 /src
parent625259d2260ae26234595aadeb87d74244b9962d (diff)
downloadVeraCrypt-e47f94cb4329cfefb0a9c4efaa353a1b54268b46.tar.gz
VeraCrypt-e47f94cb4329cfefb0a9c4efaa353a1b54268b46.zip
Windows: modification to make Coverity happy!
Diffstat (limited to 'src')
-rw-r--r--src/Mount/Mount.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c
index d5c578df..ca52178f 100644
--- a/src/Mount/Mount.c
+++ b/src/Mount/Mount.c
@@ -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