diff options
author | Steve Naroff <snaroff@apple.com> | 2008-09-24 22:46:45 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2008-09-24 22:46:45 +0000 |
commit | cc2ece2e362085ef50af5af69558ed67f7ed73e0 (patch) | |
tree | 12a029ac8175c6c544f5d7b5a32468edc8cc39da | |
parent | 16564420ffe679b0e3cf310c418be6ef98d8e658 (diff) |
Fix a couple harmless warnings when compiling optimized with gcc (reported by mrs@apple.com).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56591 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | Driver/RewriteBlocks.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Driver/RewriteBlocks.cpp b/Driver/RewriteBlocks.cpp index 691f104a64..76d0ebd42c 100644 --- a/Driver/RewriteBlocks.cpp +++ b/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(); |