]> Savannah Git Hosting - gnulib.git/commitdiff
vaszprintf-posix tests: Fix a gcc warning.
authorBruno Haible <bruno@clisp.org>
Tue, 30 Jul 2024 01:14:00 +0000 (03:14 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 12 Aug 2024 16:09:37 +0000 (18:09 +0200)
* tests/test-vaszprintf-posix.c (test_function): Remove an unused
variable.

ChangeLog
tests/test-vaszprintf-posix.c

index 83d513696e13203a3e2be5cfe39a56418057fa44..6fcb892b51468830de8185784daa790b8e32ccfe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-07-29  Bruno Haible  <bruno@clisp.org>
+
+       vaszprintf-posix tests: Fix a gcc warning.
+       * tests/test-vaszprintf-posix.c (test_function): Remove an unused
+       variable.
+
 2024-07-29  Bruno Haible  <bruno@clisp.org>
 
        Fix misspelling of __clang_major__.
index 0e6af1c371f471b8b0304ff369194869112c46de..d3f03965fe09b81e5b9b7a40c5413c8673962af7 100644 (file)
@@ -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.  */