diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2019-09-17 14:27:54 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2019-09-17 14:27:54 +0000 |
commit | 7dbc2e3b6d3613473844273f24649db0b5b8461b (patch) | |
tree | f38d09d1e06d300218f0ae7f18254b9bc3bddb35 /gcc | |
parent | 1160be126809af874f3d68a514bf38b63076d1cd (diff) | |
download | gcc-7dbc2e3b6d3613473844273f24649db0b5b8461b.zip gcc-7dbc2e3b6d3613473844273f24649db0b5b8461b.tar.gz gcc-7dbc2e3b6d3613473844273f24649db0b5b8461b.tar.bz2 |
Remove name of unused parameter in array-traits.h
2019-09-17 Richard Sandiford <richard.sandiford@arm.com>
gcc/
* array-traits.h (array_traits<T[N]>::size): Remove parameter name.
From-SVN: r275805
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/array-traits.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6d03377..b050369 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-09-17 Richard Sandiford <richard.sandiford@arm.com> + + * array-traits.h (array_traits<T[N]>::size): Remove parameter name. + 2019-09-17 Richard Biener <rguenther@suse.de> PR debug/91772 diff --git a/gcc/array-traits.h b/gcc/array-traits.h index eb65ede..8b269a3 100644 --- a/gcc/array-traits.h +++ b/gcc/array-traits.h @@ -42,7 +42,7 @@ struct array_traits<T[N]> 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 |