diff options
author | imp <imp@FreeBSD.org> | 1999-04-25 22:29:30 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1999-04-25 22:29:30 +0000 |
commit | 404ab5f9ba8f886a2b4a3de13ab226213fd976bb (patch) | |
tree | ad323a333603d18cc896ee80fad1f67b354df9de /lib/libc/locale | |
parent | 8b33b875effcc83c5a2de2bd72e2c70b04652373 (diff) | |
download | FreeBSD-src-404ab5f9ba8f886a2b4a3de13ab226213fd976bb.zip FreeBSD-src-404ab5f9ba8f886a2b4a3de13ab226213fd976bb.tar.gz |
More egcs warning fixes:
o use braces to avoid potentially ambiguous else
o don't default to type int (and also remove a useless register
modifier).
o Use parens around assignment values used as truth values.
o Remove unused function.
Reviewed by: obrien and chuckr
Diffstat (limited to 'lib/libc/locale')
-rw-r--r-- | lib/libc/locale/utf2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/locale/utf2.c b/lib/libc/locale/utf2.c index c46dd93..52b4cad 100644 --- a/lib/libc/locale/utf2.c +++ b/lib/libc/locale/utf2.c @@ -48,7 +48,7 @@ static char sccsid[] = "@(#)utf2.c 8.1 (Berkeley) 6/4/93"; rune_t _UTF2_sgetrune __P((const char *, size_t, char const **)); int _UTF2_sputrune __P((rune_t, char *, size_t, char **)); -static _utf_count[16] = { +static int _utf_count[16] = { 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 2, 2, 3, 0, }; |