Cleanup: quite some harmless but noisy warnings from gcc...

This commit is contained in:
2015-01-11 21:03:15 +01:00
parent 1b3b011354
commit 7a1dc20560
12 changed files with 18 additions and 16 deletions

View File

@@ -457,7 +457,7 @@ static void validate_solution(LaplacianSystem *sys, short flag, float lambda, fl
{
int i;
float lam;
float vini, vend;
float vini = 0.0f, vend;
if (flag & MOD_LAPLACIANSMOOTH_PRESERVE_VOLUME) {
vini = compute_volume(sys->vertexCos, sys->mfaces, sys->numFaces);