From e47f94cb4329cfefb0a9c4efaa353a1b54268b46 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Tue, 16 Aug 2016 14:21:19 +0200 Subject: Windows: modification to make Coverity happy! --- src/Mount/Mount.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Mount/Mount.c') 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 -- cgit v1.2.3