aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2003-09-05 02:21:41 +0000
committerBen Elliston <bje@gnu.org>2003-09-05 02:21:41 +0000
commitb73263e40127b8ad0e416a239517918cbcf39d90 (patch)
tree105a434a5db7f0020b5f82e0f4e4310bcf74c583 /newlib
parentc6f53ff6bedce72a721f71645cd32d2805ba1a3b (diff)
downloadnewlib-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/ChangeLog3
-rw-r--r--newlib/libc/ctype/wctype.c1
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 */