Skip to content

Commit e5d1f73

Browse files
brandtbuchermiss-islington
authored andcommitted
bpo-38823: Clean up _xxtestfuzz initialization. (GH-17216)
https://bugs.python.org/issue38823
1 parent 559bad1 commit e5d1f73

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Modules/_xxtestfuzz/_xxtestfuzz.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,5 @@ static struct PyModuleDef _fuzzmodule = {
4444
PyMODINIT_FUNC
4545
PyInit__xxtestfuzz(void)
4646
{
47-
PyObject *m = NULL;
48-
49-
if ((m = PyModule_Create(&_fuzzmodule)) == NULL) {
50-
return NULL;
51-
}
52-
return m;
47+
return PyModule_Create(&_fuzzmodule);
5348
}

0 commit comments

Comments
 (0)