Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ebcbffcea..513c34d32 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 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 */