forked from OSchip/llvm-project
Fix unused variable warning in SemaTemplate. NFC
llvm-svn: 321346
This commit is contained in:
parent
54a5ad3681
commit
1371cba56f
|
@ -950,7 +950,7 @@ Decl *Sema::ActOnNonTypeTemplateParameter(Scope *S, Declarator &D,
|
|||
if (DS.getStorageClassSpec() != DeclSpec::SCS_unspecified)
|
||||
EmitDiag(DS.getStorageClassSpecLoc());
|
||||
|
||||
if (DeclSpec::TSCS TSCS = DS.getThreadStorageClassSpec())
|
||||
if (DS.getThreadStorageClassSpec() != TSCS_unspecified)
|
||||
EmitDiag(DS.getThreadStorageClassSpecLoc());
|
||||
|
||||
// [dcl.inline]p1:
|
||||
|
|
Loading…
Reference in New Issue