commit | 97e561ef24b6270d0000e21be3afb994caefcd8f | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Thu May 26 13:53:47 2011 +0200 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Thu May 26 13:53:47 2011 +0200 |
tree | 8f9bef696c8ed0b593c618f81150b7e2bca61695 | |
parent | 25095b2be655cbe88a05e99f6956aa29cf6207d9 [diff] [blame] |
Avoid useless "++" at the end of functions Warnings found by the Clang Static Analyzer.
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 4361908..309159c 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c
@@ -6474,7 +6474,7 @@ } } /* 0-terminate the output string */ - *output++ = '\0'; + *output = '\0'; Py_XDECREF(exc); Py_XDECREF(errorHandler); return 0;