mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-24 03:53:29 +01:00
Windows: fix compilation warnings
This commit is contained in:
parent
0bfed6553d
commit
a388262a2e
@ -12373,7 +12373,7 @@ BOOL CALLBACK SecurityTokenKeyfileDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam
|
|||||||
WaitCursor();
|
WaitCursor();
|
||||||
finally_do ({ NormalCursor(); });
|
finally_do ({ NormalCursor(); });
|
||||||
|
|
||||||
keyfiles = Token::GetAvailableKeyfiles(EMVSupportEnabled);
|
keyfiles = Token::GetAvailableKeyfiles(EMVSupportEnabled? true : false);
|
||||||
}
|
}
|
||||||
catch (UserAbort&)
|
catch (UserAbort&)
|
||||||
{
|
{
|
||||||
@ -12473,7 +12473,7 @@ BOOL CALLBACK SecurityTokenKeyfileDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam
|
|||||||
|
|
||||||
SecurityToken::CreateKeyfile (newParams.SlotId, keyfileDataVector, newParams.Name);
|
SecurityToken::CreateKeyfile (newParams.SlotId, keyfileDataVector, newParams.Name);
|
||||||
|
|
||||||
keyfiles = Token::GetAvailableKeyfiles(EMVSupportEnabled);
|
keyfiles = Token::GetAvailableKeyfiles(EMVSupportEnabled? true : false);
|
||||||
SecurityTokenKeyfileDlgFillList (hwndDlg, keyfiles);
|
SecurityTokenKeyfileDlgFillList (hwndDlg, keyfiles);
|
||||||
}
|
}
|
||||||
catch (Exception &e)
|
catch (Exception &e)
|
||||||
@ -12555,7 +12555,7 @@ BOOL CALLBACK SecurityTokenKeyfileDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam
|
|||||||
SecurityToken::DeleteKeyfile (dynamic_cast<SecurityTokenKeyfile&>(*keyfile.get()));
|
SecurityToken::DeleteKeyfile (dynamic_cast<SecurityTokenKeyfile&>(*keyfile.get()));
|
||||||
}
|
}
|
||||||
|
|
||||||
keyfiles = Token::GetAvailableKeyfiles(EMVSupportEnabled);
|
keyfiles = Token::GetAvailableKeyfiles(EMVSupportEnabled? true : false);
|
||||||
SecurityTokenKeyfileDlgFillList (hwndDlg, keyfiles);
|
SecurityTokenKeyfileDlgFillList (hwndDlg, keyfiles);
|
||||||
}
|
}
|
||||||
catch (Exception &e)
|
catch (Exception &e)
|
||||||
|
Loading…
Reference in New Issue
Block a user