summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-04-21 02:46:11 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-04-21 02:46:11 (GMT)
commitcf96de052f656c400ecfd8302d6507e4f586c365 (patch)
tree23d807a64949fa6c8035917a4e74b58b760b0709 /Objects
parent9dfe4cdfa46caa3087c6c383ffa307437f4536b4 (diff)
downloadcpython-cf96de052f656c400ecfd8302d6507e4f586c365.zip
cpython-cf96de052f656c400ecfd8302d6507e4f586c365.tar.gz
cpython-cf96de052f656c400ecfd8302d6507e4f586c365.tar.bz2
SF but #417587: compiler warnings compiling 2.1.
Repaired *some* of the SGI compiler warnings Sjoerd Mullender reported.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index f3cab05..b3c8ba4 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -671,12 +671,10 @@ PyObject *PyUnicode_DecodeUTF8(const char *s,
case 0:
errmsg = "unexpected code byte";
goto utf8Error;
- break;
case 1:
errmsg = "internal error";
goto utf8Error;
- break;
case 2:
if ((s[1] & 0xc0) != 0x80) {
@@ -740,7 +738,6 @@ PyObject *PyUnicode_DecodeUTF8(const char *s,
/* Other sizes are only needed for UCS-4 */
errmsg = "unsupported Unicode code range";
goto utf8Error;
- break;
}
s += n;
continue;