[Bf-blender-cvs] [38a28ce] alembic: Fix for potentially uninitialized variable.
Lukas Tönne
noreply at git.blender.org
Thu Apr 23 08:41:55 CEST 2015
Commit: 38a28ce63685ee52a04cf1a97ba728e56479b6c1
Author: Lukas Tönne
Date: Thu Apr 23 08:41:28 2015 +0200
Branches: alembic
https://developer.blender.org/rB38a28ce63685ee52a04cf1a97ba728e56479b6c1
Fix for potentially uninitialized variable.
===================================================================
M source/blender/blenkernel/intern/strands.c
===================================================================
diff --git a/source/blender/blenkernel/intern/strands.c b/source/blender/blenkernel/intern/strands.c
index 0bcdb78..e3c92b5 100644
--- a/source/blender/blenkernel/intern/strands.c
+++ b/source/blender/blenkernel/intern/strands.c
@@ -275,7 +275,7 @@ static void strands_children_apply_parent_deform(StrandChildIterator *it_strand,
void BKE_strands_children_deform(StrandsChildren *strands, Strands *parents, bool use_motion)
{
- int *vertstart;
+ int *vertstart = NULL;
StrandChildIterator it_strand;
if (parents)
More information about the Bf-blender-cvs
mailing list