Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Get rid of compilation warnings. Part I.
[modules/shaper.git]
/
src
/
ModelGeomAlgo
/
ModelGeomAlgo_Point2D.cpp
diff --git
a/src/ModelGeomAlgo/ModelGeomAlgo_Point2D.cpp
b/src/ModelGeomAlgo/ModelGeomAlgo_Point2D.cpp
index 45b1d3a3325f6e414394489feb6e288dc10bf1a8..19328db10fcc361a6e0526a72ac33d2d95188925 100644
(file)
--- a/
src/ModelGeomAlgo/ModelGeomAlgo_Point2D.cpp
+++ b/
src/ModelGeomAlgo/ModelGeomAlgo_Point2D.cpp
@@
-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;
}