[Python-checkins] cpython: Fix compiler warning on Windows

zach.ware python-checkins at python.org
Wed Apr 23 20:54:44 CEST 2014


http://hg.python.org/cpython/rev/1ff53fd593ed
changeset:   90447:1ff53fd593ed
user:        Zachary Ware <zachary.ware at gmail.com>
date:        Wed Apr 23 13:51:27 2014 -0500
summary:
  Fix compiler warning on Windows

..\Modules\_testcapimodule.c(3320): warning C4098: 'matmulType_dealloc' : 'void' function returning a value

files:
  Modules/_testcapimodule.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c
--- a/Modules/_testcapimodule.c
+++ b/Modules/_testcapimodule.c
@@ -3317,7 +3317,7 @@
 static void
 matmulType_dealloc(PyObject *self)
 {
-    return Py_TYPE(self)->tp_free(self);
+    Py_TYPE(self)->tp_free(self);
 }
 
 static PyNumberMethods matmulType_as_number = {

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list