From 7759e404df43cb8ec38279e7a153f47760014a67 Mon Sep 17 00:00:00 2001 From: ski Date: Fri, 18 Apr 2014 15:15:21 +0400 Subject: [PATCH] 0024857: CLang warnings -Wunused-function Unused functions were removed. --- src/DNaming/DNaming_Line3DDriver.cxx | 4 ---- src/XDEDRAW/XDEDRAW_Props.cxx | 12 ------------ 2 files changed, 16 deletions(-) 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 : -- 2.20.1