From 566caa72a93e3c89a6ff5119c58575b800eb5cb0 Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 6 Nov 2014 15:49:41 +0300 Subject: [PATCH] Fix non initialized value. --- src/PartSet/PartSet_Tools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.39.2