summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/CPUDetect.cpp
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2012-12-10 00:40:28 -0600
committerGlenn Rice <glennricster@gmail.com>2012-12-10 00:40:28 -0600
commite85438cba05c88d088a26572e88e3996b38d88ed (patch)
tree9bb1e6a94006d2ccbd24841143e49b27464c3b90 /Source/Core/Common/Src/CPUDetect.cpp
parent43d673b576c68407e4acd68a0a13ca8306bd0aad (diff)
Clean up gcc/g++ compiler warnings that have accumulated.
Diffstat (limited to 'Source/Core/Common/Src/CPUDetect.cpp')
-rw-r--r--Source/Core/Common/Src/CPUDetect.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Core/Common/Src/CPUDetect.cpp b/Source/Core/Common/Src/CPUDetect.cpp
index 93e9d25087..65cd6dbd0b 100644
--- a/Source/Core/Common/Src/CPUDetect.cpp
+++ b/Source/Core/Common/Src/CPUDetect.cpp
@@ -173,9 +173,7 @@ 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?
if ((cpu_id[3] >> 29) & 1) bLongMode = true;
}