[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [19340] branches/soc-2008-mxcurioni/source /blender/freestyle/intern/python/Iterator/BPy_SVertexIterator.cpp: Fixed an uninitialized variable.

Tamito Kajiyama rd6t-kjym at asahi-net.or.jp
Fri Mar 20 23:44:04 CET 2009


Revision: 19340
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=19340
Author:   kjym3
Date:     2009-03-20 23:44:04 +0100 (Fri, 20 Mar 2009)

Log Message:
-----------
Fixed an uninitialized variable.

Modified Paths:
--------------
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/Iterator/BPy_SVertexIterator.cpp

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/Iterator/BPy_SVertexIterator.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/Iterator/BPy_SVertexIterator.cpp	2009-03-20 22:42:59 UTC (rev 19339)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/Iterator/BPy_SVertexIterator.cpp	2009-03-20 22:44:04 UTC (rev 19340)
@@ -119,7 +119,7 @@
 int SVertexIterator___init__(BPy_SVertexIterator *self, PyObject *args )
 {	
 	PyObject *obj1 = 0, *obj2 = 0, *obj3 = 0, *obj4 = 0;
-	float f;
+	float f = 0;
 
 	if (! PyArg_ParseTuple(args, "|OOOOf", &obj1, &obj2, &obj3, &obj4, f) )
 	    return -1;





More information about the Bf-blender-cvs mailing list