diff --git a/newlib/ChangeLog b/newlib/ChangeLog index ebcbffcea..513c34d32 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,8 @@ 2003-09-05 Ben Elliston + * 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 f2c9d0247..dc400c422 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 */