diff options
-rw-r--r-- | clang/Driver/RewriteBlocks.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/Driver/RewriteBlocks.cpp b/clang/Driver/RewriteBlocks.cpp index 691f104a64d..76d0ebd42cf 100644 --- a/clang/Driver/RewriteBlocks.cpp +++ b/clang/Driver/RewriteBlocks.cpp @@ -679,8 +679,8 @@ Stmt *RewriteBlocks::RewriteFunctionBody(Stmt *S) { std::string RewriteBlocks::SynthesizeBlockCall(CallExpr *Exp) { // Navigate to relevant type information. - const char *closureName; - const BlockPointerType *CPT; + const char *closureName = 0; + const BlockPointerType *CPT = 0; if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Exp->getCallee())) { closureName = DRE->getDecl()->getName(); |