]> granicus.if.org Git - python/commitdiff
Revert bogus change committed in 46432 to this file.
authorMartin v. Löwis <martin@v.loewis.de>
Sat, 27 May 2006 11:07:49 +0000 (11:07 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sat, 27 May 2006 11:07:49 +0000 (11:07 +0000)
Objects/unicodeobject.c

index d37ca0c3a532d41000dba62fd3cf3cc9475d79d6..1711b2db7355e28543d3b36d0276e23aaea7e065 100644 (file)
@@ -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. */