summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-05-26 11:53:47 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-05-26 11:53:47 (GMT)
commit97e561ef24b6270d0000e21be3afb994caefcd8f (patch)
tree8f9bef696c8ed0b593c618f81150b7e2bca61695 /Objects/unicodeobject.c
parent25095b2be655cbe88a05e99f6956aa29cf6207d9 (diff)
downloadcpython-97e561ef24b6270d0000e21be3afb994caefcd8f.zip
cpython-97e561ef24b6270d0000e21be3afb994caefcd8f.tar.gz
cpython-97e561ef24b6270d0000e21be3afb994caefcd8f.tar.bz2
Avoid useless "++" at the end of functions
Warnings found by the Clang Static Analyzer.
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
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 @@ PyUnicode_EncodeDecimal(Py_UNICODE *s,
}
}
/* 0-terminate the output string */
- *output++ = '\0';
+ *output = '\0';
Py_XDECREF(exc);
Py_XDECREF(errorHandler);
return 0;