diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2011-12-17 20:22:08 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2011-12-17 20:22:08 +0400 |
commit | 74a112305932eff7c68c23c6df265e72de7195f8 (patch) | |
tree | 12c07cc90ce73199b2fdd499846a8ef6e946f7e8 /source/blender/editors/object | |
parent | b8e96e70dc7997226cd06d3179572ab34e9756ad (diff) |
Quite some compiler warnings...
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r-- | source/blender/editors/object/object_vgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_vgroup.c b/source/blender/editors/object/object_vgroup.c index e117a934cd7..bfb5d166e6f 100644 --- a/source/blender/editors/object/object_vgroup.c +++ b/source/blender/editors/object/object_vgroup.c @@ -892,7 +892,7 @@ static void moveCloserToDistanceFromPlane(Scene *scene, Object *ob, Mesh *me, in int totweight = dvert->totweight; float oldw = 0; float oldPos[3] = {0}; - float vc, hc, dist; + float vc, hc, dist = 0.0f; int i, k; float (*changes)[2] = MEM_mallocN(sizeof(float *)*totweight*2, "vertHorzChange"); float *dists = MEM_mallocN(sizeof(float)*totweight, "distance"); |