diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Common/Dlgcode.c | 3 | ||||
-rw-r--r-- | src/Crypto/cpu.c | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c index 2cf61415..32e1617d 100644 --- a/src/Common/Dlgcode.c +++ b/src/Common/Dlgcode.c @@ -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); diff --git a/src/Crypto/cpu.c b/src/Crypto/cpu.c index c3a769c8..effde6ba 100644 --- a/src/Crypto/cpu.c +++ b/src/Crypto/cpu.c @@ -348,7 +348,6 @@ void DetectX86Features() g_hasISSE = 1; else { - uint32 cpuid2[4] = {0}; CpuId(0x080000000, cpuid2); if (cpuid2[0] >= 0x080000001) { |