Couple more uninitialized before use warning elimination.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45547 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/ASTContext.cpp b/AST/ASTContext.cpp
index d20be96..85ccfd7 100644
--- a/AST/ASTContext.cpp
+++ b/AST/ASTContext.cpp
@@ -1385,7 +1385,7 @@
return false;
unsigned numRhsProtocols = 0;
- ObjcProtocolDecl **rhsProtoList;
+ ObjcProtocolDecl **rhsProtoList = 0;
if (rhsQI) {
numRhsProtocols = rhsQI->getNumProtocols();
rhsProtoList = rhsQI->getReferencedProtocols();
@@ -1436,7 +1436,7 @@
return false;
unsigned numLhsProtocols = 0;
- ObjcProtocolDecl **lhsProtoList;
+ ObjcProtocolDecl **lhsProtoList = 0;
if (lhsQI) {
numLhsProtocols = lhsQI->getNumProtocols();
lhsProtoList = lhsQI->getReferencedProtocols();