mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-27 21:43:29 +01:00
Windows: Fix compiler warnings
This commit is contained in:
parent
c0785aa1d4
commit
34b00fa825
@ -9088,8 +9088,7 @@ int MountVolume (HWND hwndDlg,
|
||||
{
|
||||
if (mount.wszVolume == NULL || swscanf_s ((const wchar_t *) mount.wszVolume,
|
||||
WIDE("\\Device\\Harddisk%d\\Partition"),
|
||||
&mount.nPartitionInInactiveSysEncScopeDriveNo,
|
||||
sizeof(mount.nPartitionInInactiveSysEncScopeDriveNo)) != 1)
|
||||
&mount.nPartitionInInactiveSysEncScopeDriveNo) != 1)
|
||||
{
|
||||
if (!quiet)
|
||||
Warning ("NO_SYSENC_PARTITION_SELECTED", hwndDlg);
|
||||
|
@ -348,7 +348,6 @@ void DetectX86Features()
|
||||
g_hasISSE = 1;
|
||||
else
|
||||
{
|
||||
uint32 cpuid2[4] = {0};
|
||||
CpuId(0x080000000, cpuid2);
|
||||
if (cpuid2[0] >= 0x080000001)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user