0024857: CLang warnings -Wunused-function
authorski <ski@opencascade.com>
Fri, 18 Apr 2014 11:15:21 +0000 (15:15 +0400)
committerabv <abv@opencascade.com>
Thu, 24 Apr 2014 11:43:31 +0000 (15:43 +0400)
Unused functions were removed.

src/DNaming/DNaming_Line3DDriver.cxx
src/XDEDRAW/XDEDRAW_Props.cxx

index e1bcad0..15e732d 100644 (file)
@@ -71,10 +71,6 @@ static void Write(const TopoDS_Shape& shape,
 }
 #endif
 
-inline static Standard_GUID getLine3DNamingVersionID() {
-  static Standard_GUID anID("BB74BAD5-7AAD-44b4-850F-05416F09B28E");
-  return anID;
-}
 //=======================================================================
 //function : DNaming_Line3DDriver
 //purpose  : Constructor
index bb5317e..5fbd9be 100644 (file)
@@ -483,18 +483,6 @@ static Standard_Integer GetCentroid (Draw_Interpretor& di, Standard_Integer argc
   return 0;
 }
 
-
-//=======================================================================
-//function : doround
-//purpose  : auxilary
-//=======================================================================
-
-static inline Standard_Real doround (Standard_Real val, Standard_Real low)
-{
-  return Abs ( val ) < low ? 0. : val;
-}
-
-
 //=======================================================================
 //function : CheckProps
 //purpose  :