From: Ted Kremenek Date: Tue, 19 Oct 2010 23:10:22 +0000 (+0000) Subject: Silence uninitialized value warning. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b562af1b3675d22e8ad0cef6f48343b3c2ee02d;p=clang Silence uninitialized value warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116877 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Rewrite/RewriteObjC.cpp b/lib/Rewrite/RewriteObjC.cpp index 9807091496..7ae66f6238 100644 --- a/lib/Rewrite/RewriteObjC.cpp +++ b/lib/Rewrite/RewriteObjC.cpp @@ -1285,7 +1285,7 @@ Stmt *RewriteObjC::RewritePropertyOrImplicitSetter(BinaryOperator *BinOp, Expr * 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;