From: Bruno Haible Date: Tue, 30 Jul 2024 01:14:00 +0000 (+0200) Subject: vaszprintf-posix tests: Fix a gcc warning. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=3a4c1255d3f6cdd2058fb870b4e0fd864e04d693;p=gnulib.git vaszprintf-posix tests: Fix a gcc warning. * tests/test-vaszprintf-posix.c (test_function): Remove an unused variable. --- diff --git a/ChangeLog b/ChangeLog index 83d513696e..6fcb892b51 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-07-29 Bruno Haible + + vaszprintf-posix tests: Fix a gcc warning. + * tests/test-vaszprintf-posix.c (test_function): Remove an unused + variable. + 2024-07-29 Bruno Haible Fix misspelling of __clang_major__. diff --git a/tests/test-vaszprintf-posix.c b/tests/test-vaszprintf-posix.c index 0e6af1c371..d3f03965fe 100644 --- a/tests/test-vaszprintf-posix.c +++ b/tests/test-vaszprintf-posix.c @@ -57,8 +57,6 @@ strisnan (const char *string, size_t start_index, size_t end_index, int uppercas static void test_function (ptrdiff_t (*my_aszprintf) (char **, const char *, ...)) { - char result[5000]; - /* Test the support of the 'a' and 'A' conversion specifier for hexadecimal output of floating-point numbers. */