[X86] Initialize Type and Subtype in getHostCPUName to 0.
llvm-svn: 317341
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp
index c167df5..40ed87b 100644
--- a/llvm/lib/Support/Host.cpp
+++ b/llvm/lib/Support/Host.cpp
@@ -1057,8 +1057,8 @@
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,