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,
|
if (mount.wszVolume == NULL || swscanf_s ((const wchar_t *) mount.wszVolume,
|
||||||
WIDE("\\Device\\Harddisk%d\\Partition"),
|
WIDE("\\Device\\Harddisk%d\\Partition"),
|
||||||
&mount.nPartitionInInactiveSysEncScopeDriveNo,
|
&mount.nPartitionInInactiveSysEncScopeDriveNo) != 1)
|
||||||
sizeof(mount.nPartitionInInactiveSysEncScopeDriveNo)) != 1)
|
|
||||||
{
|
{
|
||||||
if (!quiet)
|
if (!quiet)
|
||||||
Warning ("NO_SYSENC_PARTITION_SELECTED", hwndDlg);
|
Warning ("NO_SYSENC_PARTITION_SELECTED", hwndDlg);
|
||||||
|
|||||||
@@ -348,7 +348,6 @@ void DetectX86Features()
|
|||||||
g_hasISSE = 1;
|
g_hasISSE = 1;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
uint32 cpuid2[4] = {0};
|
|
||||||
CpuId(0x080000000, cpuid2);
|
CpuId(0x080000000, cpuid2);
|
||||||
if (cpuid2[0] >= 0x080000001)
|
if (cpuid2[0] >= 0x080000001)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user