From 220fcd43a9e48c3ca7be766433495a54d5471d71 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 5 Sep 2014 10:58:44 +1000 Subject: Fix uninitialized variable use --- source/blender/editors/sculpt_paint/paint_image_proj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors') diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c index 40ac2e8902a..ab22b0a5b42 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; -- cgit v1.2.3