[X86] Initialize Type and Subtype in getHostCPUName to 0.

llvm-svn: 317341
This commit is contained in:
Craig Topper 2017-11-03 18:02:44 +00:00
parent 58e9a0bb16
commit 741e7e6a71
1 changed files with 2 additions and 2 deletions

View File

@ -1057,8 +1057,8 @@ StringRef sys::getHostCPUName() {
detectX86FamilyModel(EAX, &Family, &Model);
getAvailableFeatures(ECX, EDX, MaxLeaf, &Features, &Features2);
unsigned Type;
unsigned Subtype;
unsigned Type = 0;
unsigned Subtype = 0;
if (Vendor == SIG_INTEL) {
getIntelProcessorTypeAndSubtype(Family, Model, Brand_id, Features,