Salome HOME
Get rid of compilation warnings. Part I.
[modules/shaper.git] / src / ModelGeomAlgo / ModelGeomAlgo_Point2D.cpp
index 45b1d3a3325f6e414394489feb6e288dc10bf1a8..19328db10fcc361a6e0526a72ac33d2d95188925 100644 (file)
@@ -386,7 +386,7 @@ std::string doubleToString(double theValue)
 {
   std::string aValueStr;
   char aBuf[50];
-  int n = sprintf(aBuf, "%g", theValue);
+  sprintf(aBuf, "%g", theValue);
   aValueStr = std::string(aBuf);
   return aValueStr;
 }