OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e7ca4a
)
* libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
author
bje
<bje>
Fri, 5 Sep 2003 02:21:41 +0000
(
02:21
+0000)
committer
bje
<bje>
Fri, 5 Sep 2003 02:21:41 +0000
(
02:21
+0000)
modern versions of GCC issue a warning.
newlib/ChangeLog
patch
|
blob
|
history
newlib/libc/ctype/wctype.c
patch
|
blob
|
history
diff --git
a/newlib/ChangeLog
b/newlib/ChangeLog
index
ebcbffc
..
513c34d
100644
(file)
--- 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
(file)
--- 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 */