r187765 - SemaTemplateInstantiateDecl.cpp: Suppress a warning. [-Wunused-variable]
NAKAMURA Takumi
geek4civic at gmail.com
Mon Aug 5 20:28:54 PDT 2013
Author: chapuni
Date: Mon Aug 5 22:28:54 2013
New Revision: 187765
URL: http://llvm.org/viewvc/llvm-project?rev=187765&view=rev
Log:
SemaTemplateInstantiateDecl.cpp: Suppress a warning. [-Wunused-variable]
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=187765&r1=187764&r2=187765&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp Mon Aug 5 22:28:54 2013
@@ -3461,6 +3461,7 @@ void Sema::InstantiateVariableDefinition
VarSpec->getTemplateArgsInfo(), InstantiationDependent) &&
"Only instantiate variable template specializations that are "
"not type-dependent");
+ (void)InstantiationDependent;
// Find the variable initialization that we'll be substituting.
assert(VarSpec->getSpecializedTemplate() &&
More information about the cfe-commits
mailing list