From: ski Date: Fri, 18 Apr 2014 11:15:21 +0000 (+0400) Subject: 0024857: CLang warnings -Wunused-function X-Git-Tag: V6_8_0_beta~373 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=7759e404df43cb8ec38279e7a153f47760014a67;p=occt-copy.git 0024857: CLang warnings -Wunused-function Unused functions were removed. --- diff --git a/src/DNaming/DNaming_Line3DDriver.cxx b/src/DNaming/DNaming_Line3DDriver.cxx index e1bcad066e..15e732d93d 100644 --- a/src/DNaming/DNaming_Line3DDriver.cxx +++ b/src/DNaming/DNaming_Line3DDriver.cxx @@ -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 diff --git a/src/XDEDRAW/XDEDRAW_Props.cxx b/src/XDEDRAW/XDEDRAW_Props.cxx index bb5317e096..5fbd9be9d2 100644 --- a/src/XDEDRAW/XDEDRAW_Props.cxx +++ b/src/XDEDRAW/XDEDRAW_Props.cxx @@ -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 :