From: Martin v. Löwis Date: Sat, 27 May 2006 11:07:49 +0000 (+0000) Subject: Revert bogus change committed in 46432 to this file. X-Git-Tag: v2.5b1~412 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2e3f6b77d5278abf399029dd64240329ad71f5b2;p=thirdparty%2FPython%2Fcpython.git Revert bogus change committed in 46432 to this file. --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index d37ca0c3a532..1711b2db7355 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -2376,7 +2376,6 @@ PyObject *_PyUnicode_DecodeUnicodeInternal(const char *s, end = s + size; while (s < end) { - *p = *(Py_UNICODE*)s; memcpy(p, s, sizeof(Py_UNICODE)); /* We have to sanity check the raw data, otherwise doom looms for some malformed UCS-4 data. */