From 265ea0bec77bcaa558ead602148cc67263d755d0 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Mon, 8 Nov 2004 21:19:06 +0000 Subject: [PATCH] warning fixes for using generated code in VC++ git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6695 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Modules/python.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx index d89c7cd4f..16721d746 100644 --- a/Source/Modules/python.cxx +++ b/Source/Modules/python.cxx @@ -1597,7 +1597,7 @@ public: Wrapper_print(setf,f_wrappers); /* Create a function for getting the value of a variable */ - Printf(getf->def,"static PyObject *%s_get() {", wname); + Printf(getf->def,"static PyObject *%s_get(void) {", wname); Wrapper_add_local(getf,"pyobj", "PyObject *pyobj"); if ((tm = Swig_typemap_lookup_new("varout",n,name,0))) { Replaceall(tm,"$source",name);