diff options
Diffstat (limited to 'Python/codecs.c')
-rw-r--r-- | Python/codecs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/codecs.c b/Python/codecs.c index 223ccca603..eb3cd35fb8 100644 --- a/Python/codecs.c +++ b/Python/codecs.c @@ -78,8 +78,6 @@ PyObject *normalizestring(const char *string) } p[i] = '\0'; v = PyUnicode_FromString(p); - if (v == NULL) - return NULL; PyMem_Free(p); return v; } |