mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 02:58:02 -06:00
Windows:Fix various issues and warnings reported by static code analysis tool Coverity.
This commit is contained in:
@@ -389,7 +389,12 @@ BOOL CALLBACK HotkeysDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPar
|
||||
|
||||
DisplayHotkeyList(hwndDlg);
|
||||
|
||||
SetTimer (hwndDlg, 0xfe, 10, NULL);
|
||||
if (SetTimer (hwndDlg, 0xfe, 10, NULL) == 0)
|
||||
{
|
||||
Error ("CANNOT_SET_TIMER", MainDlg);
|
||||
EndDialog (hwndDlg, IDCANCEL);
|
||||
return 1;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user