From aef3d8bba0bcf3dfd032fa80dd910d99350a7ceb Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sun, 28 Mar 2004 01:16:50 +0000 Subject: [PATCH] fix gcc warning --- Mesh/Utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mesh/Utils.cpp b/Mesh/Utils.cpp index 15313bcb0d..2fa741c5bb 100644 --- a/Mesh/Utils.cpp +++ b/Mesh/Utils.cpp @@ -1,4 +1,4 @@ -// $Id: Utils.cpp,v 1.22 2004-02-07 01:40:22 geuzaine Exp $ +// $Id: Utils.cpp,v 1.23 2004-03-28 01:16:50 geuzaine Exp $ // // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // @@ -356,7 +356,7 @@ void invert_singular_matrix3x3(double _M[3][3], double _I[3][3]) void XYZtoUV(Surface * s, double X, double Y, double Z, double *U, double *V, double relax) { - double Unew, Vnew, err; + double Unew = 0., Vnew = 0., err; int iter; Vertex D_u, D_v, P; double mat[3][3], jac[3][3]; -- GitLab