diff --git a/clang/lib/CodeGen/CGBlocks.cpp b/clang/lib/CodeGen/CGBlocks.cpp index 045f7338e005..be79a1a1ac1d 100644 --- a/clang/lib/CodeGen/CGBlocks.cpp +++ b/clang/lib/CodeGen/CGBlocks.cpp @@ -103,9 +103,6 @@ llvm::Constant *CodeGenFunction::BuildBlockLiteralTmp() { std::vector Elts; llvm::Constant *C; - bool staticBlockTmp = (BlockRefDeclList == 0 - && BlockByrefDeclList == 0); - { // C = BuildBlockStructInitlist(); unsigned int flags = BLOCK_HAS_DESCRIPTOR;