From 94711098e4bc0f2c95c11c0cdb0766857872f87a Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Thu, 15 Oct 2009 19:38:45 +0000 Subject: * Fixed compiler warnings concerning the lack of a newline at the end of a file. * Fixed compiler warnings due to an invalid argument to PyList_New(). NULL was used instead of 0 to create an empty list. --- source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/freestyle/intern/python/Interface0D') diff --git a/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp b/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp index 36702799b49..dd204925936 100644 --- a/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp +++ b/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp @@ -133,7 +133,7 @@ PyObject * SVertex_normals( BPy_SVertex *self ) { PyObject *py_normals; set< Vec3r > normals; - py_normals = PyList_New(NULL); + py_normals = PyList_New(0); normals = self->sv->normals(); for( set< Vec3r >::iterator set_iterator = normals.begin(); set_iterator != normals.end(); set_iterator++ ) { -- cgit v1.2.3