summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-06-28 14:29:33 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-06-28 14:29:33 (GMT)
commit3cfca938da80f3cee7b962c94e54ddbd32316c52 (patch)
treee41a062c488dc591d4b6e0e2767cf7280b523702
parentcdace2fcd29a96b329c76bf1f400430d420f3fd0 (diff)
downloadCMake-3cfca938da80f3cee7b962c94e54ddbd32316c52.zip
CMake-3cfca938da80f3cee7b962c94e54ddbd32316c52.tar.gz
CMake-3cfca938da80f3cee7b962c94e54ddbd32316c52.tar.bz2
Remove another warning in the python wrapping
-rw-r--r--Source/cmVTKWrapPythonCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVTKWrapPythonCommand.cxx b/Source/cmVTKWrapPythonCommand.cxx
index 08934b6..059c34d 100644
--- a/Source/cmVTKWrapPythonCommand.cxx
+++ b/Source/cmVTKWrapPythonCommand.cxx
@@ -194,7 +194,7 @@ bool cmVTKWrapPythonCommand::WriteInit(const char *kitName,
fprintf(fout,"\nstatic PyMethodDef Py%s_ClassMethods[] = {\n",
kitName);
- fprintf(fout,"{NULL, NULL}};\n\n");
+ fprintf(fout,"{NULL, NULL, 0, NULL}};\n\n");
#ifdef _WIN32
fprintf(fout,"extern \"C\" {__declspec( dllexport) void init%s();}\n\n",kitName);