From: rkv Date: Mon, 26 Oct 2015 06:58:47 +0000 (+0300) Subject: 0026811: Coding rules - drop unused Draw Harness command deboucle X-Git-Tag: V7_0_0_beta~164 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=e438ef255054a6e0424f24598f4c3481323f1fee;p=occt-copy.git 0026811: Coding rules - drop unused Draw Harness command deboucle --- 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