]> Savannah Git Hosting - gnulib.git/commitdiff
unigbrk/uc-grapheme-breaks tests: Fix gcc -Wunused-function warning.
authorBruno Haible <bruno@clisp.org>
Mon, 4 Sep 2023 21:38:34 +0000 (23:38 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 14 Sep 2023 10:13:30 +0000 (12:13 +0200)
* tests/unigbrk/test-uc-grapheme-breaks.c
(graphemebreakproperty_to_string): Mark as possibly unused.

ChangeLog
tests/unigbrk/test-uc-grapheme-breaks.c

index 6fabc01bc5d83ddd4244df1f9a5695ff1258d6eb..86b7ee8c35a731557e2fb307e1c4e3554ea59800 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2023-09-04  Bruno Haible  <bruno@clisp.org>
 
+       unigbrk/uc-grapheme-breaks tests: Fix gcc -Wunused-function warning.
+       * tests/unigbrk/test-uc-grapheme-breaks.c
+       (graphemebreakproperty_to_string): Mark as possibly unused.
+
        bitset, nonblocking-* tests: Fix gcc -Wunused-but-set-variable warnings.
        * tests/test-bitset.c (check_zero): Mark 'i' as possibly unused.
        * tests/test-nonblocking-reader.h (full_read): Mark 'spent_time' as
index b898dc1c9fd025838669a77ab3b109afdd82e7cc..6310d750c94393c7e8343373c94d9811fbe88c55 100644 (file)
@@ -27,7 +27,7 @@
 
 #include "macros.h"
 
-static const char *
+_GL_UNUSED static const char *
 graphemebreakproperty_to_string (int gbp)
 {
   printf ("%d\n", gbp);