aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGBlocks.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-02-13 19:13:32 +0000
committerDouglas Gregor <dgregor@apple.com>2009-02-13 19:13:32 +0000
commit3fa3dc13e9fddb3394c28b4384f28f087f2d7cb8 (patch)
tree9092692a14644aaa1408187f3882f2b377a1ec58 /lib/CodeGen/CGBlocks.cpp
parentecc90e9512b2ddaced6cb02a08f933fc7afa8e3f (diff)
Eliminate an unused variable
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64476 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGBlocks.cpp')
-rw-r--r--lib/CodeGen/CGBlocks.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/CodeGen/CGBlocks.cpp b/lib/CodeGen/CGBlocks.cpp
index 045f7338e0..be79a1a1ac 100644
--- a/lib/CodeGen/CGBlocks.cpp
+++ b/lib/CodeGen/CGBlocks.cpp
@@ -103,9 +103,6 @@ llvm::Constant *CodeGenFunction::BuildBlockLiteralTmp() {
std::vector<llvm::Constant*> Elts;
llvm::Constant *C;
- bool staticBlockTmp = (BlockRefDeclList == 0
- && BlockByrefDeclList == 0);
-
{
// C = BuildBlockStructInitlist();
unsigned int flags = BLOCK_HAS_DESCRIPTOR;