cleanup: Initialize optional fields in profModule
Let's initialize them with NULL to make the compiler happy.
This commit is contained in:
@@ -1583,7 +1583,11 @@ static struct PyModuleDef profModule = {
|
||||
"prof",
|
||||
"",
|
||||
-1,
|
||||
apiMethods
|
||||
apiMethods,
|
||||
NULL, /* m_slots */
|
||||
NULL, /* m_traverse */
|
||||
NULL, /* m_clear */
|
||||
NULL /* m_free */
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user