[cfe-commits] r102047 - /cfe/trunk/lib/CodeGen/CGObjC.cpp
Daniel Dunbar
daniel at zuster.org
Wed Apr 21 20:17:06 PDT 2010
Author: ddunbar
Date: Wed Apr 21 22:17:06 2010
New Revision: 102047
URL: http://llvm.org/viewvc/llvm-project?rev=102047&view=rev
Log:
Suppress compiler warning.
Modified:
cfe/trunk/lib/CodeGen/CGObjC.cpp
Modified: cfe/trunk/lib/CodeGen/CGObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjC.cpp?rev=102047&r1=102046&r2=102047&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjC.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjC.cpp Wed Apr 21 22:17:06 2010
@@ -56,7 +56,7 @@
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());
More information about the cfe-commits
mailing list