summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Bradshaw <robertwb@gmail.com>2019-01-17 15:23:57 +0100
committerGitHub <noreply@github.com>2019-01-17 15:23:57 +0100
commit99d273059b11a6ab354549c8f52a11e919e4e626 (patch)
tree38a6a1c4294c4e382c2f39cec98db4b9873f1160
parent5ecb4ba9519e456c064f2d84c32ee4bd9d390374 (diff)
parent79594a75a2cf301f56d1378b7e15b4def27d0129 (diff)
downloadcython-99d273059b11a6ab354549c8f52a11e919e4e626.tar.gz
Merge pull request #2801 from true-pasky/patch-1
Fix incompatibility with C89
-rw-r--r--Cython/Utility/StringTools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Utility/StringTools.c b/Cython/Utility/StringTools.c
index 4862a25a5..8147778e5 100644
--- a/Cython/Utility/StringTools.c
+++ b/Cython/Utility/StringTools.c
@@ -915,8 +915,8 @@ static PyObject* __Pyx_PyUnicode_BuildFromAscii(Py_ssize_t ulength, char* chars,
#else
// non-CPython
{
- uval = NULL;
PyObject *sign = NULL, *padding = NULL;
+ uval = NULL;
if (uoffset > 0) {
prepend_sign = !!prepend_sign;
if (uoffset > prepend_sign) {