]> granicus.if.org Git - icinga2/commitdiff
Python: Fix a compiler warning.
authorGunnar Beutner <gunnar.beutner@netways.de>
Mon, 18 Mar 2013 11:36:02 +0000 (12:36 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Mon, 18 Mar 2013 11:36:02 +0000 (12:36 +0100)
lib/python/pythonlanguage.cpp

index ae589c5c3d1ab1c6dc60257f8c8ef2c66da256cc..21f813a621c4895b682964ca27b9b2c03c8229ee 100644 (file)
@@ -35,7 +35,7 @@ REGISTER_SCRIPTLANGUAGE("Python", PythonLanguage);
 
 PyMethodDef PythonLanguage::m_NativeMethodDef[] = {
        { "RegisterFunction", &PythonLanguage::PyRegisterFunction, METH_VARARGS, NULL },
-       { NULL, NULL, NULL, 0 } /* sentinel */
+       { NULL, NULL, 0, NULL } /* sentinel */
 };
 
 PythonLanguage::PythonLanguage(void)