From: Martin v. Löwis Date: Wed, 11 Jun 2008 05:59:46 +0000 (+0000) Subject: Add missing NULL return value. X-Git-Tag: v3.0b1~108 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b9e8dcf2e0de3bdb96657921a142b474639955a2;p=thirdparty%2FPython%2Fcpython.git Add missing NULL return value. --- diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index f571c6673372..907cc7b671c5 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -4995,7 +4995,7 @@ PyInit__socket(void) PyObject *tmp; tmp = PyLong_FromUnsignedLong(SIO_RCVALL); if (tmp == NULL) - return; + return NULL; PyModule_AddObject(m, "SIO_RCVALL", tmp); } PyModule_AddIntConstant(m, "RCVALL_OFF", RCVALL_OFF);