VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Mount/Mount.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-08-16 12:21:19 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-08-16 17:58:48 (GMT)
commite47f94cb4329cfefb0a9c4efaa353a1b54268b46 (patch)
treee6a1914aaea1f3c338d157f703b25fe82b4d1d27 /src/Mount/Mount.c
parent625259d2260ae26234595aadeb87d74244b9962d (diff)
downloadVeraCrypt-e47f94cb4329cfefb0a9c4efaa353a1b54268b46.zip
VeraCrypt-e47f94cb4329cfefb0a9c4efaa353a1b54268b46.tar.gz
Windows: modification to make Coverity happy!
Diffstat (limited to 'src/Mount/Mount.c')
-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 d5c578d..ca52178 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