]> granicus.if.org Git - clang/commitdiff
ExternalASTMerger.cpp: Silence another warning. [-Wunused-lambda-capture]
authorNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 13 Apr 2017 00:17:28 +0000 (00:17 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 13 Apr 2017 00:17:28 +0000 (00:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300145 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/ExternalASTMerger.cpp

index 2761eb4629b724fef1628fb739f9a3a3adef042c..2d4d0185ff2a20479c8bbeede570eda3a89c221e 100644 (file)
@@ -178,6 +178,7 @@ void ExternalASTMerger::FindExternalLexicalDecls(
                 IP.Forward->Import(const_cast<Decl *>(SourceDecl));
             assert(ImportedDecl->getDeclContext() == DC);
             (void)ImportedDecl;
+            (void)DC;
           }
         }
       });