Skip to content
Snippets Groups Projects
Commit b2d84b5f authored by callum_linden's avatar callum_linden
Browse files

Update to build on Xcode 6.0: remove unused function that makes clang sad

parent b826dbcb
No related branches found
No related tags found
No related merge requests found
...@@ -204,21 +204,6 @@ namespace ...@@ -204,21 +204,6 @@ namespace
return "Unknown"; return "Unknown";
} }
std::string compute_CPUFamilyName(const char* cpu_vendor, int composed_family)
{
const char* intel_string = "GenuineIntel";
const char* amd_string = "AuthenticAMD";
if(!strncmp(cpu_vendor, intel_string, strlen(intel_string)))
{
return intel_CPUFamilyName(composed_family);
}
else if(!strncmp(cpu_vendor, amd_string, strlen(amd_string)))
{
return amd_CPUFamilyName(composed_family);
}
return "Unknown";
}
std::string compute_CPUFamilyName(const char* cpu_vendor, int family, int ext_family) std::string compute_CPUFamilyName(const char* cpu_vendor, int family, int ext_family)
{ {
const char* intel_string = "GenuineIntel"; const char* intel_string = "GenuineIntel";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment