mirror of https://github.com/python/cpython
bpo-38823: Clean up _xxtestfuzz initialization. (GH-17216)
https://bugs.python.org/issue38823
This commit is contained in:
parent
559bad1a70
commit
e5d1f734db
|
@ -44,10 +44,5 @@ static struct PyModuleDef _fuzzmodule = {
|
||||||
PyMODINIT_FUNC
|
PyMODINIT_FUNC
|
||||||
PyInit__xxtestfuzz(void)
|
PyInit__xxtestfuzz(void)
|
||||||
{
|
{
|
||||||
PyObject *m = NULL;
|
return PyModule_Create(&_fuzzmodule);
|
||||||
|
|
||||||
if ((m = PyModule_Create(&_fuzzmodule)) == NULL) {
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
return m;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue