Relax an assert to an if check.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72477 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaInit.cpp b/lib/Sema/SemaInit.cpp
index 3fae86d..951aaa3 100644
--- a/lib/Sema/SemaInit.cpp
+++ b/lib/Sema/SemaInit.cpp
@@ -165,9 +165,9 @@
           return true;
         
         // FIXME: What do do if VD is null here?
-        assert(VD && "Must have a var decl to construct into!");
-        Init = CXXConstructExpr::Create(Context, VD, DeclType, Constructor, 
-                                        false, &Init, 1);
+        if (VD)
+          Init = CXXConstructExpr::Create(Context, VD, DeclType, Constructor, 
+                                          false, &Init, 1);
         return false;
       }