Author: Ronan Lamy <[email protected]>
Branch: testing-cleanup
Changeset: r85249:7c4dd42a0e24
Date: 2016-06-20 17:29 +0100
http://bitbucket.org/pypy/pypy/changeset/7c4dd42a0e24/
Log: (ssbr, ronan) Prevent unused variable warning in
test_no_structmember()
diff --git a/pypy/module/cpyext/test/test_cpyext.py
b/pypy/module/cpyext/test/test_cpyext.py
--- a/pypy/module/cpyext/test/test_cpyext.py
+++ b/pypy/module/cpyext/test/test_cpyext.py
@@ -985,7 +985,7 @@
('bar', 'METH_NOARGS',
'''
/* reuse a name that is #defined in structmember.h */
- int RO;
+ int RO = 0; (void)RO;
Py_RETURN_NONE;
'''
),
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit