diff options
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r-- | Objects/unicodeobject.c | 3 |
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; |