From: Ben Pfaff Date: Sun, 10 Nov 2019 23:53:05 +0000 (+0000) Subject: string-array: Drop unused parameter from STRING_ARRAY_INITIALIZER. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c59cff49b708d5d5b6fbb7345b425b9fd8d85fcf;p=pspp string-array: Drop unused parameter from STRING_ARRAY_INITIALIZER. This macro had no users. --- 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 *);