r300006 - Silence unused variable warning in release builds.
Benjamin Kramer via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 11 16:06:49 PDT 2017
Author: d0k
Date: Tue Apr 11 18:06:49 2017
New Revision: 300006
URL: http://llvm.org/viewvc/llvm-project?rev=300006&view=rev
Log:
Silence unused variable warning in release builds.
Modified:
cfe/trunk/lib/AST/ExternalASTMerger.cpp
Modified: cfe/trunk/lib/AST/ExternalASTMerger.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ExternalASTMerger.cpp?rev=300006&r1=300005&r2=300006&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ExternalASTMerger.cpp (original)
+++ cfe/trunk/lib/AST/ExternalASTMerger.cpp Tue Apr 11 18:06:49 2017
@@ -177,6 +177,7 @@ void ExternalASTMerger::FindExternalLexi
Decl *ImportedDecl =
IP.Forward->Import(const_cast<Decl *>(SourceDecl));
assert(ImportedDecl->getDeclContext() == DC);
+ (void)ImportedDecl;
}
}
});
More information about the cfe-commits
mailing list