This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch to wctype.c (committed)


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 */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]