silence a bogus gcc warning.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39824 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/CodeGen/CGStmt.cpp b/CodeGen/CGStmt.cpp
index 193acb7..88df7d4 100644
--- a/CodeGen/CGStmt.cpp
+++ b/CodeGen/CGStmt.cpp
@@ -247,6 +247,8 @@
   const Expr *RV = S.getRetValue();
   if (RV)
     RetVal = EmitExpr(RV);
+  else  // Silence a bogus GCC warning. 
+    RetVal = RValue::get(0);
   
   QualType FnRetTy = CurFuncDecl->getType().getCanonicalType();
   FnRetTy = cast<FunctionType>(FnRetTy)->getResultType();