From f68f1e2482fac7d391416aebb8fd8964ec68a739 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 19 Oct 2013 14:13:59 -0700 Subject: [PATCH] Avoid an unused variable. --- Common/CPUDetect.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Common/CPUDetect.cpp b/Common/CPUDetect.cpp index 28072e7423..44e8123502 100644 --- a/Common/CPUDetect.cpp +++ b/Common/CPUDetect.cpp @@ -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; }