summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-05-27 11:07:49 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-05-27 11:07:49 (GMT)
commit2e3f6b77d5278abf399029dd64240329ad71f5b2 (patch)
tree9ee4136e237b0cb212e72520a53fdd05c3f0900a /Objects/unicodeobject.c
parente0df7627191e367ad0496f582d2aa298b3c11848 (diff)
downloadcpython-2e3f6b77d5278abf399029dd64240329ad71f5b2.zip
cpython-2e3f6b77d5278abf399029dd64240329ad71f5b2.tar.gz
cpython-2e3f6b77d5278abf399029dd64240329ad71f5b2.tar.bz2
Revert bogus change committed in 46432 to this file.
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index d37ca0c..1711b2d 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. */