From 0b647a6ea18151149d624ab373e6fe0e819e4a9a Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 22 Apr 2010 03:17:06 +0000 Subject: [PATCH] Suppress compiler warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102047 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGObjC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/CGObjC.cpp b/lib/CodeGen/CGObjC.cpp index e5da29a61b..46bb90be9d 100644 --- a/lib/CodeGen/CGObjC.cpp +++ b/lib/CodeGen/CGObjC.cpp @@ -56,7 +56,7 @@ RValue CodeGenFunction::EmitObjCMessageExpr(const ObjCMessageExpr *E) { bool isSuperMessage = false; bool isClassMessage = false; // Find the receiver - llvm::Value *Receiver; + llvm::Value *Receiver = 0; switch (E->getReceiverKind()) { case ObjCMessageExpr::Instance: Receiver = EmitScalarExpr(E->getInstanceReceiver());