unigbrk: Avoid gcc warnings.
authorBruno Haible <bruno@clisp.org>
Sun, 2 Jan 2011 18:34:18 +0000 (19:34 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 2 Jan 2011 18:34:18 +0000 (19:34 +0100)
commit8887fa6665320b476fdf7e0ac680f7ce736ba37d
tree350d69af384e30e83c103a00803ecd3b591c223d
parentfa43e0af674cf072f407fda6ec95cae536f4e4a0
unigbrk: Avoid gcc warnings.

* lib/unigbrk/u16-grapheme-breaks.c (u16_grapheme_breaks): Remove
unused variable.
* lib/unigbrk/u16-grapheme-prev.c (u16_grapheme_prev): Likewise.
* lib/unigbrk/u8-grapheme-prev.c (u8_grapheme_prev): Likewise.
* tests/unigbrk/test-u16-grapheme-breaks.c (main): Likewise.
* tests/unigbrk/test-u32-grapheme-breaks.c (main): Likewise.
* tests/unigbrk/test-u8-grapheme-breaks.c (test_u8_grapheme_breaks):
Change type of first argument to 'const char *'.
(main): Remove unused variable.
* tests/unigbrk/test-u8-grapheme-next.c (test_u8_grapheme_next): Change
type of first argument to 'const char *'.
* tests/unigbrk/test-u8-grapheme-prev.c (test_u8_grapheme_prev):
Likewise.
(main): Change type of variable 's'.
* tests/unigbrk/test-uc-is-grapheme-break.c (main): Cast column number
to 'int'.
ChangeLog
lib/unigbrk/u16-grapheme-breaks.c
lib/unigbrk/u16-grapheme-prev.c
lib/unigbrk/u8-grapheme-prev.c
tests/unigbrk/test-u16-grapheme-breaks.c
tests/unigbrk/test-u32-grapheme-breaks.c
tests/unigbrk/test-u8-grapheme-breaks.c
tests/unigbrk/test-u8-grapheme-next.c
tests/unigbrk/test-u8-grapheme-prev.c
tests/unigbrk/test-uc-is-grapheme-break.c