From 4776e8e07ed206de758e226113016d68798f9fe1 Mon Sep 17 00:00:00 2001 From: bje Date: Fri, 5 Sep 2003 02:21:41 +0000 Subject: [PATCH] * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as modern versions of GCC issue a warning. --- newlib/ChangeLog | 3 +++ newlib/libc/ctype/wctype.c | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index ebcbffceab..513c34d32a 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 f2c9d02475..dc400c4223 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 */ -- 2.11.0