From: vsv Date: Thu, 6 Nov 2014 12:49:41 +0000 (+0300) Subject: Fix non initialized value. X-Git-Tag: V_0.5~28^2~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=566caa72a93e3c89a6ff5119c58575b800eb5cb0;p=modules%2Fshaper.git Fix non initialized value. --- diff --git a/src/PartSet/PartSet_Tools.cpp b/src/PartSet/PartSet_Tools.cpp index 0344269bb..b5407f6f7 100644 --- a/src/PartSet/PartSet_Tools.cpp +++ b/src/PartSet/PartSet_Tools.cpp @@ -231,7 +231,7 @@ double PartSet_Tools::featureValue(FeaturePtr theFeature, const std::string& the bool& isValid) { isValid = false; - double aValue; + double aValue = 0; if (theFeature) { boost::shared_ptr aData = theFeature->data(); AttributeDoublePtr anAttribute = boost::dynamic_pointer_cast(