diff --git a/Geo/GFace.cpp b/Geo/GFace.cpp index 57eb08ea56b4466a9c45b02668ede30e087fe26f..fba5f4e67235edccd9c4bfd4a074cda54e712ba1 100644 --- a/Geo/GFace.cpp +++ b/Geo/GFace.cpp @@ -558,7 +558,7 @@ void GFace::XYZtoUV(const double X, const double Y, const double Z, SPoint2 GFace::parFromPoint(const SPoint3 &p) const { - double U, V; + double U = 0., V = 0.; XYZtoUV(p.x(), p.y(), p.z(), U, V, 1.0); return SPoint2(U, V); }