Initialize.

llvm-svn: 48253
diff --git a/llvm/lib/Transforms/IPO/StructRetPromotion.cpp b/llvm/lib/Transforms/IPO/StructRetPromotion.cpp
index 5275eda..686ffda 100644
--- a/llvm/lib/Transforms/IPO/StructRetPromotion.cpp
+++ b/llvm/lib/Transforms/IPO/StructRetPromotion.cpp
@@ -213,7 +213,7 @@
   unsigned ParamIndex = 1; // 0th parameter attribute is reserved for return type.
   while (I != E) {
     Params.push_back(I->getType());
-    ParameterAttributes Attrs;
+    ParameterAttributes Attrs = ParamAttr::None;
     if (PAL) {
       Attrs = PAL->getParamAttrs(ParamIndex);
       if (ParamIndex == 1) // Skip sret attribute
@@ -272,7 +272,7 @@
     unsigned ParamIndex = 1; // 0th parameter attribute is reserved for return type.
     while (AI != AE) {
       Args.push_back(*AI); 
-      ParameterAttributes Attrs;
+      ParameterAttributes Attrs = ParamAttr::None;
       if (PAL) {
         Attrs = PAL->getParamAttrs(ParamIndex);
         if (ParamIndex == 1) // Skip sret attribute