mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows: Fix compiler warnings
This commit is contained in:
@@ -9088,8 +9088,7 @@ retry:
|
||||
{
|
||||
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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user