Skip to content

Commit 195513b

Browse files
committed
Fix copy and paste error in python 2 branch of the mono code.
1 parent 5062377 commit 195513b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/monoclr/clrmod.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ static PyObject *_initclr() {
4949
m = Py_InitModule3("clr", clr_methods, clr_module_doc);
5050
#endif
5151
if (m == NULL)
52-
return;
52+
return NULL;
5353
PyModule_AddObject(m, "facade", Py_True);
5454
Py_INCREF(Py_True);
5555

@@ -67,7 +67,7 @@ PyInit_clr(void) {
6767
}
6868
#else
6969
PyMODINIT_FUNC
70-
initclr(void)
70+
initclr(void) {
7171
_initclr();
7272
}
7373
#endif

0 commit comments

Comments
 (0)