diff options
author | Brandt Bucher <brandtbucher@gmail.com> | 2019-11-21 00:17:03 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-11-21 00:17:02 (GMT) |
commit | e5d1f734db135e284af8e8868e7ccc85355952b9 (patch) | |
tree | 751162476147eed0e873d895c007977ae9616d92 /Modules/_xxtestfuzz | |
parent | 559bad1a70ed50cc9caa7cb303b6ac1fe6a34af3 (diff) | |
download | cpython-e5d1f734db135e284af8e8868e7ccc85355952b9.zip cpython-e5d1f734db135e284af8e8868e7ccc85355952b9.tar.gz cpython-e5d1f734db135e284af8e8868e7ccc85355952b9.tar.bz2 |
bpo-38823: Clean up _xxtestfuzz initialization. (GH-17216)
https://bugs.python.org/issue38823
Diffstat (limited to 'Modules/_xxtestfuzz')
-rw-r--r-- | Modules/_xxtestfuzz/_xxtestfuzz.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Modules/_xxtestfuzz/_xxtestfuzz.c b/Modules/_xxtestfuzz/_xxtestfuzz.c index 781dd23..e0694de 100644 --- a/Modules/_xxtestfuzz/_xxtestfuzz.c +++ b/Modules/_xxtestfuzz/_xxtestfuzz.c @@ -44,10 +44,5 @@ static struct PyModuleDef _fuzzmodule = { PyMODINIT_FUNC PyInit__xxtestfuzz(void) { - PyObject *m = NULL; - - if ((m = PyModule_Create(&_fuzzmodule)) == NULL) { - return NULL; - } - return m; + return PyModule_Create(&_fuzzmodule); } |