* pt.c (check_unstripped_args): Mark parameter as unused. diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 082e04c..ad2970d 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -1023,7 +1023,7 @@ optimize_specialization_lookup_p (tree tmpl) gone through coerce_template_parms by now. */ static void -check_unstripped_args (tree args) +check_unstripped_args (tree args ATTRIBUTE_UNUSED) { #ifdef ENABLE_CHECKING ++processing_template_decl; -- 2.4.5
-- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."