commit | 4f2dab5c337f202b8fe3058108efc40cb1a0a724 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Fri May 27 16:46:51 2011 +0200 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Fri May 27 16:46:51 2011 +0200 |
tree | 52e3a979f3f5a521f404d07aa7fc1d1107348557 | |
parent | 43b068648e81d951f78d9f1cf1cd8f42731e164e [diff] [blame] |
Revert my commit 7ba176c2f558: "Avoid useless "++" at the end of functions Warnings found by the Clang Static Analyzer." Most people prefer ++ at the end of functions.
diff --git a/Objects/setobject.c b/Objects/setobject.c index ebfddb3..2e62518 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c
@@ -616,7 +616,7 @@ Py_UNICODE_COPY(u, PyUnicode_AS_UNICODE(listrepr)+1, newsize-2); u += newsize-2; - *u = '}'; + *u++ = '}'; Py_DECREF(listrepr); if (Py_TYPE(so) != &PySet_Type) {