X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomValidators%2FGeomValidators_Positive.cpp;h=13e9a0241e4bd6edf077998d133c4e5056e412d1;hb=d5d78920316491975a67f76578982b401cdfe71d;hp=446470df27ad40ec1f1dce6dea58e1dbb5fac4be;hpb=7074394f8f08413d885f63be01df6bd5007b868c;p=modules%2Fshaper.git diff --git a/src/GeomValidators/GeomValidators_Positive.cpp b/src/GeomValidators/GeomValidators_Positive.cpp index 446470df2..13e9a0241 100644 --- a/src/GeomValidators/GeomValidators_Positive.cpp +++ b/src/GeomValidators/GeomValidators_Positive.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// Copyright (C) 2014-2019 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -12,10 +12,9 @@ // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or -// email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #include "GeomValidators_Positive.h" @@ -48,7 +47,6 @@ bool GeomValidators_Positive::isValid(const AttributePtr& theAttribute, double aMinValue = 1.e-5; if(theArguments.size() == 1) { std::list::const_iterator anIt = theArguments.begin(); - char *aErr; double aValue = Config_PropManager::stringToDouble((*anIt).c_str()); if(aValue != 0) { // very probably ok