OSDN Git Service

* libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
authorbje <bje>
Fri, 5 Sep 2003 02:21:41 +0000 (02:21 +0000)
committerbje <bje>
Fri, 5 Sep 2003 02:21:41 +0000 (02:21 +0000)
modern versions of GCC issue a warning.

newlib/ChangeLog
newlib/libc/ctype/wctype.c

index ebcbffc..513c34d 100644 (file)
@@ -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.
index f2c9d02..dc400c4 100644 (file)
@@ -120,7 +120,6 @@ _DEFUN (_wctype_r, (r, c),
       if (!strcmp (c, "xdigit"))
         return WC_XDIGIT;
       break;
-    default:
     }
 
   /* otherwise invalid */