initialize variable and fix a bunch of test failures
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51326 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp
index 9777c88..a050ab2 100644
--- a/lib/Sema/SemaDecl.cpp
+++ b/lib/Sema/SemaDecl.cpp
@@ -1309,7 +1309,7 @@
// is of an appropriate width (this sort of code is apparently used
// in some places).
// FIXME: Add pedwarn?
- Expr* SubE;
+ Expr* SubE = 0;
if (ImplicitCastExpr* ICE = dyn_cast<ImplicitCastExpr>(Init))
SubE = ICE->getSubExpr();
else if (CastExpr* CE = dyn_cast<CastExpr>(Init))