Author: Ronan Lamy <[email protected]>
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);
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit