https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115987

--- Comment #10 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to Dan Urosu from comment #8)
> Why does not warn for unwarp_1?
> The mere addition of an unused template parameter triggers this warning.

We don't analyze the body of the function (which may not even be visible at the
point of the warning).

Reply via email to