SF but #417587: compiler warnings compiling 2.1.

Repaired *some* of the SGI compiler warnings Sjoerd Mullender reported.
This commit is contained in:
Tim Peters 2001-04-21 02:46:11 +00:00
parent 9dfe4cdfa4
commit cf96de052f
4 changed files with 1 additions and 8 deletions

View file

@ -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;