From c59cff49b708d5d5b6fbb7345b425b9fd8d85fcf Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 10 Nov 2019 23:53:05 +0000 Subject: [PATCH] string-array: Drop unused parameter from STRING_ARRAY_INITIALIZER. This macro had no users. --- src/libpspp/string-array.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpspp/string-array.h b/src/libpspp/string-array.h index f3ec0423f7..36ad738396 100644 --- a/src/libpspp/string-array.h +++ b/src/libpspp/string-array.h @@ -32,9 +32,9 @@ struct string_array /* Suitable for use as the initializer for a string_array named ARRAY. Typical usage: - struct string_array array = STRING_ARRAY_INITIALIZER (array); + struct string_array array = STRING_ARRAY_INITIALIZER; STRING_ARRAY_INITIALIZER is an alternative to calling string_array_init. */ -#define STRING_ARRAY_INITIALIZER(ARRAY) { NULL, 0, 0 } +#define STRING_ARRAY_INITIALIZER { NULL, 0, 0 } void string_array_init (struct string_array *); void string_array_clone (struct string_array *, const struct string_array *); -- 2.30.2