diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-05-13 15:10:05 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-05-13 15:48:55 +0300 |
commit | 7a2e271e5439d1888b21e4dafe782027f6ef0f77 (patch) | |
tree | 81b5981478350b28c49f12d390c7de5ca0a42907 /source/blender/modifiers/intern/MOD_laplaciansmooth.c | |
parent | 3469e623d3174ff4e82c430478640dfacd0e63ff (diff) |
Fix compiler warnings.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_laplaciansmooth.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_laplaciansmooth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_laplaciansmooth.c b/source/blender/modifiers/intern/MOD_laplaciansmooth.c index 04821b01e05..59e4faee633 100644 --- a/source/blender/modifiers/intern/MOD_laplaciansmooth.c +++ b/source/blender/modifiers/intern/MOD_laplaciansmooth.c @@ -333,7 +333,7 @@ static void validate_solution(LaplacianSystem *sys, short flag, float lambda, fl { int i; float lam; - float vini, vend; + float vini = 0.0f, vend = 0.0f; if (flag & MOD_LAPLACIANSMOOTH_PRESERVE_VOLUME) { vini = compute_volume(sys->vert_centroid, sys->vertexCos, sys->mpoly, sys->numPolys, sys->mloop); |