Commit b9e8dcf2 authored by Martin v. Löwis's avatar Martin v. Löwis

Add missing NULL return value.

parent 6a880a83
...@@ -4995,7 +4995,7 @@ PyInit__socket(void) ...@@ -4995,7 +4995,7 @@ PyInit__socket(void)
PyObject *tmp; PyObject *tmp;
tmp = PyLong_FromUnsignedLong(SIO_RCVALL); tmp = PyLong_FromUnsignedLong(SIO_RCVALL);
if (tmp == NULL) if (tmp == NULL)
return; return NULL;
PyModule_AddObject(m, "SIO_RCVALL", tmp); PyModule_AddObject(m, "SIO_RCVALL", tmp);
} }
PyModule_AddIntConstant(m, "RCVALL_OFF", RCVALL_OFF); PyModule_AddIntConstant(m, "RCVALL_OFF", RCVALL_OFF);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment