Commit: 220fcd43a9e48c3ca7be766433495a54d5471d71
Author: Campbell Barton
Date:   Fri Sep 5 10:58:44 2014 +1000
Branches: master
https://developer.blender.org/rB220fcd43a9e48c3ca7be766433495a54d5471d71

Fix uninitialized variable use

===================================================================

M       source/blender/editors/sculpt_paint/paint_image_proj.c

===================================================================

diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c 
b/source/blender/editors/sculpt_paint/paint_image_proj.c
index 40ac2e8..ab22b0a 100644
--- a/source/blender/editors/sculpt_paint/paint_image_proj.c
+++ b/source/blender/editors/sculpt_paint/paint_image_proj.c
@@ -2920,7 +2920,7 @@ static void project_paint_begin(ProjPaintState *ps)
        MTFace *tf_base;
 
        MTFace **tf_clone;
-       MTFace *tf_clone_base;
+       MTFace *tf_clone_base = NULL;
 
        int a, i; /* generic looping vars */
        int image_index = -1, face_index;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to