This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Patch to wctype.c (committed)
- From: Ben Elliston <bje at wasabisystems dot com>
- To: newlib at sources dot redhat dot com
- Date: Fri, 5 Sep 2003 12:21:12 +1000
- Subject: Patch to wctype.c (committed)
- Organisation: Wasabi Systems Inc.
Also committed as obvious.
Ben
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.
Index: libc/ctype/wctype.c
===================================================================
RCS file: /cvs/src/src/newlib/libc/ctype/wctype.c,v
retrieving revision 1.1
diff -u -r1.1 wctype.c
--- libc/ctype/wctype.c 20 Sep 2002 20:13:10 -0000 1.1
+++ libc/ctype/wctype.c 5 Sep 2003 02:19:50 -0000
@@ -120,7 +120,6 @@
if (!strcmp (c, "xdigit"))
return WC_XDIGIT;
break;
- default:
}
/* otherwise invalid */