[pypy-commit] pypy py3.5: fix warning on clang
rlamy
pypy.commits at gmail.com
Wed Jan 18 14:38:57 EST 2017
Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: py3.5
Changeset: r89666:60a8a54cf3fa
Date: 2017-01-18 19:20 +0000
http://bitbucket.org/pypy/pypy/changeset/60a8a54cf3fa/
Log: fix warning on clang
diff --git a/pypy/module/cpyext/test/array.c b/pypy/module/cpyext/test/array.c
--- a/pypy/module/cpyext/test/array.c
+++ b/pypy/module/cpyext/test/array.c
@@ -2091,7 +2091,7 @@
if (len == 0) {
return PyUnicode_FromFormat("array('%c')", (int)typecode);
}
- if ((typecode == 'u'))
+ if (typecode == 'u')
v = array_tounicode(a, NULL);
else
v = array_tolist(a, NULL);
More information about the pypy-commit
mailing list