From: NAKAMURA Takumi Date: Tue, 6 Aug 2013 03:28:54 +0000 (+0000) Subject: SemaTemplateInstantiateDecl.cpp: Suppress a warning. [-Wunused-variable] X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cec70f57925903c22937a7c9d3933d551a583566;p=clang SemaTemplateInstantiateDecl.cpp: Suppress a warning. [-Wunused-variable] git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187765 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaTemplateInstantiateDecl.cpp b/lib/Sema/SemaTemplateInstantiateDecl.cpp index b93fe9a966..0ca6611c35 100644 --- a/lib/Sema/SemaTemplateInstantiateDecl.cpp +++ b/lib/Sema/SemaTemplateInstantiateDecl.cpp @@ -3461,6 +3461,7 @@ void Sema::InstantiateVariableDefinition(SourceLocation PointOfInstantiation, 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() &&