[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [54602] trunk/blender/source/blender/ editors/sculpt_paint/sculpt.c: Fix for harmless uninitialized-variable warning

Nicholas Bishop nicholasbishop at gmail.com
Sat Feb 16 22:36:26 CET 2013


Revision: 54602
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54602
Author:   nicholasbishop
Date:     2013-02-16 21:36:26 +0000 (Sat, 16 Feb 2013)
Log Message:
-----------
Fix for harmless uninitialized-variable warning

Modified Paths:
--------------
    trunk/blender/source/blender/editors/sculpt_paint/sculpt.c

Modified: trunk/blender/source/blender/editors/sculpt_paint/sculpt.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/sculpt.c	2013-02-16 21:32:05 UTC (rev 54601)
+++ trunk/blender/source/blender/editors/sculpt_paint/sculpt.c	2013-02-16 21:36:26 UTC (rev 54602)
@@ -3158,7 +3158,7 @@
 			PBVHVertexIter vd;
 			PBVHProxyNode *proxies;
 			int proxy_count;
-			float (*orco)[3];
+			float (*orco)[3] = NULL;
 
 			if (use_orco && !ss->bm)
 				orco = sculpt_undo_push_node(ob, nodes[n], SCULPT_UNDO_COORDS)->co;




More information about the Bf-blender-cvs mailing list