]> granicus.if.org Git - clang/commitdiff
Eliminate an unused variable
authorDouglas Gregor <dgregor@apple.com>
Fri, 13 Feb 2009 19:13:32 +0000 (19:13 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 13 Feb 2009 19:13:32 +0000 (19:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64476 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGBlocks.cpp

index 045f7338e005f3a367e0e6ea31f2533f6c7c4e38..be79a1a1ac1d362557d0c0985145a7bfc76082cb 100644 (file)
@@ -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;