From: Richard Sandiford Date: Tue, 17 Sep 2019 14:27:54 +0000 (+0000) Subject: Remove name of unused parameter in array-traits.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7dbc2e3b6d3613473844273f24649db0b5b8461b;p=gcc.git Remove name of unused parameter in array-traits.h 2019-09-17 Richard Sandiford gcc/ * array-traits.h (array_traits::size): Remove parameter name. From-SVN: r275805 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6d033774805..b050369e535 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-09-17 Richard Sandiford + + * array-traits.h (array_traits::size): Remove parameter name. + 2019-09-17 Richard Biener PR debug/91772 diff --git a/gcc/array-traits.h b/gcc/array-traits.h index eb65ede9458..8b269a34849 100644 --- a/gcc/array-traits.h +++ b/gcc/array-traits.h @@ -42,7 +42,7 @@ struct array_traits static const bool has_constant_size = true; static const size_t constant_size = N; static const T *base (const T (&x)[N]) { return x; } - static size_t size (const T (&x)[N]) { return N; } + static size_t size (const T (&)[N]) { return N; } }; #endif