From e438ef255054a6e0424f24598f4c3481323f1fee Mon Sep 17 00:00:00 2001 From: rkv Date: Mon, 26 Oct 2015 09:58:47 +0300 Subject: [PATCH] 0026811: Coding rules - drop unused Draw Harness command deboucle --- src/BRepTest/BRepTest_FeatureCommands.cxx | 73 ----------------------- 1 file changed, 73 deletions(-) diff --git a/src/BRepTest/BRepTest_FeatureCommands.cxx b/src/BRepTest/BRepTest_FeatureCommands.cxx index 5fd63d76f7..a5c0ad0916 100644 --- a/src/BRepTest/BRepTest_FeatureCommands.cxx +++ b/src/BRepTest/BRepTest_FeatureCommands.cxx @@ -1074,73 +1074,6 @@ Standard_Integer offsetperform(Draw_Interpretor& theCommands, } -//======================================================================= -//function : Debou -//purpose : -//======================================================================= - -static Standard_Integer Debou(Draw_Interpretor& theCommands, - Standard_Integer narg, const char** a) -{ - Standard_Integer i ; - Standard_Integer newnarg ; - - if (narg<7) return 1; - - TopoDS_Shape S = DBRep::Get(a[2]); - - Standard_Boolean Fuse; - if (!strcasecmp("F",a[3])) { - Fuse = Standard_True; - } - else if (!strcasecmp("C",a[3])) { - Fuse = Standard_False; - } - else { - return 1; - } - - for ( newnarg = 4; newnarg < narg; newnarg++) { - if (a[newnarg][0] == '@') { - break; - } - } - if (newnarg >= narg-1 || newnarg == 4) { - return 1; - } - - - TopTools_ListOfShape LF,LF2; - for ( i=4; i