]> granicus.if.org Git - python/commitdiff
Fix compiler warning on Windows
authorZachary Ware <zachary.ware@gmail.com>
Wed, 23 Apr 2014 18:51:27 +0000 (13:51 -0500)
committerZachary Ware <zachary.ware@gmail.com>
Wed, 23 Apr 2014 18:51:27 +0000 (13:51 -0500)
..\Modules\_testcapimodule.c(3320): warning C4098: 'matmulType_dealloc' : 'void' function returning a value

Modules/_testcapimodule.c

index 291eee69efb77262c7672fff1f7f2ef5ac20c7c3..750e90fa4cb7b024a29ec1e2424e61512f63c10d 100644 (file)
@@ -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 = {