From: Benjamin Kramer Date: Tue, 11 Apr 2017 23:06:49 +0000 (+0000) Subject: Silence unused variable warning in release builds. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e0f4a8bf0f181c7ec93558006d38c43e996b7949;p=clang Silence unused variable warning in release builds. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300006 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/ExternalASTMerger.cpp b/lib/AST/ExternalASTMerger.cpp index 1f1a9b1ec2..2761eb4629 100644 --- a/lib/AST/ExternalASTMerger.cpp +++ b/lib/AST/ExternalASTMerger.cpp @@ -177,6 +177,7 @@ void ExternalASTMerger::FindExternalLexicalDecls( Decl *ImportedDecl = IP.Forward->Import(const_cast(SourceDecl)); assert(ImportedDecl->getDeclContext() == DC); + (void)ImportedDecl; } } });