Fix a couple harmless warnings when compiling optimized with gcc (reported by mrs@apple.com).

llvm-svn: 56591
This commit is contained in:
Steve Naroff 2008-09-24 22:46:45 +00:00
parent c60873ce44
commit 4efed31acf
1 changed files with 2 additions and 2 deletions

View File

@ -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();