Fix compiler warnings.

This commit is contained in:
2018-05-13 14:10:05 +02:00
parent 3469e623d3
commit 7a2e271e54
7 changed files with 26 additions and 22 deletions

View File

@@ -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);