Avoid an unused variable.

This commit is contained in:
Unknown W. Brackets 2013-10-19 14:13:59 -07:00
parent e99cc01976
commit f68f1e2482

View file

@ -215,9 +215,8 @@ void CPUInfo::Detect()
if (max_ex_fn >= 0x80000001) {
// Check for more features.
__cpuid(cpu_id, 0x80000001);
bool cmp_legacy = false;
if (cpu_id[2] & 1) bLAHFSAHF64 = true;
if (cpu_id[2] & 2) cmp_legacy = true; //wtf is this?
// CmpLegacy (bit 2) is deprecated.
if ((cpu_id[3] >> 29) & 1) bLongMode = true;
}