This patch fixes a gcc warning about an unused variable.

2024-07-29  Bruno Haible  <br...@clisp.org>

        vaszprintf-posix tests: Fix a gcc warning.
        * tests/test-vaszprintf-posix.c (test_function): Remove an unused
        variable.

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.  */
 




Reply via email to