Salome HOME
#18963 Minimize compiler warnings (finish)
[plugins/blsurfplugin.git] / src / BLSURFPlugin / BLSURFPlugin_Hypothesis_i.cxx
index 557a8826a9fa5585f916ec1b140ef5dd09f2f0d6..4fb63f657d0d3e49c77b5779e86a243e24d68041 100644 (file)
@@ -1977,7 +1977,6 @@ char* BLSURFPlugin_Hypothesis_i::GetAttractorEntry(const char* entry) {
 // // TODO coder cette fonction (utilis??e pour savoir si la valeur a chang??
 // // A finir pour le dump
 // char* BLSURFPlugin_Hypothesis_i::GetClassAttractorEntry(const char* entry)
-// 
 // {
 //   ASSERT(myBaseImpl);
 //   try {
@@ -2061,7 +2060,7 @@ BLSURFPlugin::TAttParamsMap* BLSURFPlugin_Hypothesis_i::GetAttractorParams()
   for ( int i = 0 ; atIt != attractors.end(); ++atIt, ++i ) {
     string faceEntry = atIt->first;
     string attEntry;
-    double startSize=0., endSize=0., infDist=0., constDist=0.; // todo: startSize, endSize, infDist, constDist must be explicitly initialized to avoid warning (see below)
+    double startSize=0., endSize=0., infDist=0., constDist=0.;
     if ( !atIt->second->Empty() ) {
       attEntry = atIt->second->GetAttractorEntry();
       std::vector<double> params = atIt->second->GetParameters();
@@ -2075,7 +2074,7 @@ BLSURFPlugin::TAttParamsMap* BLSURFPlugin_Hypothesis_i::GetAttractorParams()
     result[i].startSize = startSize;
     result[i].endSize = endSize;
     result[i].infDist = infDist;
-    result[i].constDist = constDist; // todo: startSize, endSize, infDist, constDist must be explicitly initialized to avoid warning (see above)
+    result[i].constDist = constDist;
   }
   return result._retn();
 }