diff options
author | Ben Elliston <bje@gnu.org> | 2003-09-05 02:21:41 +0000 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2003-09-05 02:21:41 +0000 |
commit | b73263e40127b8ad0e416a239517918cbcf39d90 (patch) | |
tree | 105a434a5db7f0020b5f82e0f4e4310bcf74c583 /newlib | |
parent | c6f53ff6bedce72a721f71645cd32d2805ba1a3b (diff) | |
download | newlib-b73263e40127b8ad0e416a239517918cbcf39d90.zip newlib-b73263e40127b8ad0e416a239517918cbcf39d90.tar.gz newlib-b73263e40127b8ad0e416a239517918cbcf39d90.tar.bz2 |
* libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
modern versions of GCC issue a warning.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 3 | ||||
-rw-r--r-- | newlib/libc/ctype/wctype.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index ebcbffc..513c34d 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,8 @@ 2003-09-05 Ben Elliston <bje@wasabisystems.com> + * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as + modern versions of GCC issue a warning. + * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace after continuation characters that induces a warning from modern versions of GCC. diff --git a/newlib/libc/ctype/wctype.c b/newlib/libc/ctype/wctype.c index f2c9d02..dc400c4 100644 --- a/newlib/libc/ctype/wctype.c +++ b/newlib/libc/ctype/wctype.c @@ -120,7 +120,6 @@ _DEFUN (_wctype_r, (r, c), if (!strcmp (c, "xdigit")) return WC_XDIGIT; break; - default: } /* otherwise invalid */ |