aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/array-traits.h2
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