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.
This commit is contained in:
Victor Stinner 2011-05-27 16:46:51 +02:00
parent 43b068648e
commit 4f2dab5c33
3 changed files with 5 additions and 5 deletions

View file

@ -6474,7 +6474,7 @@ PyUnicode_EncodeDecimal(Py_UNICODE *s,
}
}
/* 0-terminate the output string */
*output = '\0';
*output++ = '\0';
Py_XDECREF(exc);
Py_XDECREF(errorHandler);
return 0;