diff Objects/unicodeobject.c @ 70436:43ee5ebaa62e

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.
author Victor Stinner <victor.stinner@haypocalc.com>
date Fri, 27 May 2011 16:46:51 +0200
parents 7ba176c2f558
children 7ac6397a6308
line wrap: on
line diff
--- a/Objects/unicodeobject.c	Fri May 27 09:08:01 2011 -0500
+++ b/Objects/unicodeobject.c	Fri May 27 16:46:51 2011 +0200
@@ -6474,7 +6474,7 @@
         }
     }
     /* 0-terminate the output string */
-    *output = '\0';
+    *output++ = '\0';
     Py_XDECREF(exc);
     Py_XDECREF(errorHandler);
     return 0;