From fcac31ac781d9ec00d3305b83ffa66cfc2985d06 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 18 Nov 2008 12:12:20 +0000 Subject: [PATCH] *** empty log message *** --- Geo/GFaceCompound.cpp | 2 +- Geo/Geo.cpp | 1 + Mesh/Field.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Geo/GFaceCompound.cpp b/Geo/GFaceCompound.cpp index 4801156e39..cd1f1665e2 100644 --- a/Geo/GFaceCompound.cpp +++ b/Geo/GFaceCompound.cpp @@ -307,7 +307,7 @@ void GFaceCompound::getTriangle (double u, double v, void GFaceCompound::buildOct() const { SBoundingBox3d bb; - int count; + int count = 0; std::list<GFace*> :: const_iterator it = _compound.begin(); for ( ; it != _compound.end() ; ++it){ for ( int i=0;i<(*it)->triangles.size() ; ++i){ diff --git a/Geo/Geo.cpp b/Geo/Geo.cpp index 7494392784..2294f85ed7 100644 --- a/Geo/Geo.cpp +++ b/Geo/Geo.cpp @@ -3067,6 +3067,7 @@ bool SplitCurve(int line_id, List_T *vertices_id, List_T *shapes) DeleteShape(c->Typ, c->Num); List_Delete(new_list); List_Delete(rshapes); + return true; } // Intersect a curve with a surface diff --git a/Mesh/Field.h b/Mesh/Field.h index 6572fd2683..d68b87d385 100644 --- a/Mesh/Field.h +++ b/Mesh/Field.h @@ -46,6 +46,7 @@ class FieldOption { case FIELD_OPTION_PATH: return "path"; break; case FIELD_OPTION_STRING: return "string"; break; case FIELD_OPTION_LIST: return "list"; break; + default: return "unknown"; } } virtual void numerical_value(double val) { throw(1); } -- GitLab