From: Zachary Ware Date: Wed, 23 Apr 2014 18:51:27 +0000 (-0500) Subject: Fix compiler warning on Windows X-Git-Tag: v3.5.0a1~1801 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=420dc560145cdf4d64d8ff8043d2d3fae9f235f9;p=thirdparty%2FPython%2Fcpython.git Fix compiler warning on Windows ..\Modules\_testcapimodule.c(3320): warning C4098: 'matmulType_dealloc' : 'void' function returning a value --- diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index 291eee69efb7..750e90fa4cb7 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -3317,7 +3317,7 @@ matmulType_imatmul(PyObject *self, PyObject *other) static void matmulType_dealloc(PyObject *self) { - return Py_TYPE(self)->tp_free(self); + Py_TYPE(self)->tp_free(self); } static PyNumberMethods matmulType_as_number = {