[cfe-commits] r76112 - /cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp
Daniel Dunbar
daniel at zuster.org
Thu Jul 16 15:10:11 PDT 2009
Author: ddunbar
Date: Thu Jul 16 17:10:11 2009
New Revision: 76112
URL: http://llvm.org/viewvc/llvm-project?rev=76112&view=rev
Log:
Fix unused variable warnings (with -Asserts)
Modified:
cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp
Modified: cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp?rev=76112&r1=76111&r2=76112&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp Thu Jul 16 17:10:11 2009
@@ -646,6 +646,7 @@
= dyn_cast<FunctionTemplateDecl>((Decl *)ActiveInst.Entity)) {
assert(FunTmpl->getTemplatedDecl() == Tmpl &&
"Deduction from the wrong function template?");
+ (void) FunTmpl;
ActiveInst.Kind = ActiveInstType::TemplateInstantiation;
ActiveInst.Entity = reinterpret_cast<uintptr_t>(New);
}
More information about the cfe-commits
mailing list