[pypy-commit] pypy testing-cleanup: (ssbr, ronan) Prevent unused variable warning in test_no_structmember()
rlamy
pypy.commits at gmail.com
Mon Jun 20 12:30:44 EDT 2016
Author: Ronan Lamy <ronan.lamy at gmail.com>
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;
'''
),
More information about the pypy-commit
mailing list