From 025feb240d6aad7419dd415fc3230f04b9e2aecf Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Fri, 22 Feb 2013 03:04:52 +0000 Subject: Code clean-up: removed empty PyMethodDef. --- .../intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp') diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp index 441b7be3664..b6437db6190 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp @@ -144,10 +144,6 @@ static PyObject * UnaryFunction0DDouble___call__(BPy_UnaryFunction0DDouble *self return PyFloat_FromDouble(self->uf0D_double->result); } -static PyMethodDef BPy_UnaryFunction0DDouble_methods[] = { - {NULL, NULL, 0, NULL} -}; - /*-----------------------BPy_UnaryFunction0DDouble type definition ------------------------------*/ PyTypeObject UnaryFunction0DDouble_Type = { @@ -178,7 +174,7 @@ PyTypeObject UnaryFunction0DDouble_Type = { 0, /* tp_weaklistoffset */ 0, /* tp_iter */ 0, /* tp_iternext */ - BPy_UnaryFunction0DDouble_methods, /* tp_methods */ + 0, /* tp_methods */ 0, /* tp_members */ 0, /* tp_getset */ &UnaryFunction0D_Type, /* tp_base */ -- cgit v1.2.3