forked from OSchip/llvm-project
Fix a couple harmless warnings when compiling optimized with gcc (reported by mrs@apple.com).
llvm-svn: 56591
This commit is contained in:
parent
c60873ce44
commit
4efed31acf
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue