[cfe-commits] r116877 - /cfe/trunk/lib/Rewrite/RewriteObjC.cpp
Ted Kremenek
kremenek at apple.com
Tue Oct 19 16:10:22 PDT 2010
Author: kremenek
Date: Tue Oct 19 18:10:22 2010
New Revision: 116877
URL: http://llvm.org/viewvc/llvm-project?rev=116877&view=rev
Log:
Silence uninitialized value warning.
Modified:
cfe/trunk/lib/Rewrite/RewriteObjC.cpp
Modified: cfe/trunk/lib/Rewrite/RewriteObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Rewrite/RewriteObjC.cpp?rev=116877&r1=116876&r2=116877&view=diff
==============================================================================
--- cfe/trunk/lib/Rewrite/RewriteObjC.cpp (original)
+++ cfe/trunk/lib/Rewrite/RewriteObjC.cpp Tue Oct 19 18:10:22 2010
@@ -1285,7 +1285,7 @@
Stmt *RewriteObjC::RewritePropertyOrImplicitGetter(Expr *PropOrGetterRefExpr) {
// Synthesize a ObjCMessageExpr from a ObjCPropertyRefExpr or ImplicitGetter.
// This allows us to reuse all the fun and games in SynthMessageExpr().
- Stmt *Receiver;
+ Stmt *Receiver = 0;
ObjCMethodDecl *OMD = 0;
QualType Ty;
Selector Sel;
More information about the cfe-commits
mailing list