From 093eae34478783eaeedcc01fc09f114f06e63849 Mon Sep 17 00:00:00 2001 From: Sean McBride <sean@rogue-research.com> Date: Tue, 17 Mar 2015 16:11:56 -0400 Subject: [PATCH] SystemInformation: Fix -Wswitch-enum warnings Change-Id: Iaa8fda477e06f32f8a1fd7305374d9c6d192a521 --- SystemInformation.cxx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/SystemInformation.cxx b/SystemInformation.cxx index caaa03c..b0434f4 100644 --- a/SystemInformation.cxx +++ b/SystemInformation.cxx @@ -1824,6 +1824,7 @@ const char * SystemInformationImplementation::GetVendorID() return "Motorola"; case HP: return "Hewlett-Packard"; + case UnknownManufacturer: default: return "Unknown Manufacturer"; } @@ -3065,6 +3066,12 @@ bool SystemInformationImplementation::RetrieveClassicalCPUIdentity() case NSC: this->ChipID.ProcessorName = "Cx486SLC \\ DLC \\ Cx486S A-Step"; break; + + case Sun: + case IBM: + case Motorola: + case HP: + case UnknownManufacturer: default: this->ChipID.ProcessorName = "Unknown family"; // We cannot identify the processor. return false; -- GitLab