0024510: Remove unused local variables
[occt.git] / src / TopOpeBRep / TopOpeBRep_FaceEdgeFiller.cxx
old mode 100755 (executable)
new mode 100644 (file)
index c13f5ab..32e2e9d
@@ -1,7 +1,18 @@
-// File:       TopOpeBRep_FaceEdgeFiller.cxx
-// Created:    Wed Jun 14 16:54:03 1995
-// Author:     Jean Yves LEBEY
-//             <jyl@meteox>
+// Created on: 1995-06-14
+// Created by: Jean Yves LEBEY
+// Copyright (c) 1995-1999 Matra Datavision
+// Copyright (c) 1999-2014 OPEN CASCADE SAS
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and / or modify it
+// under the terms of the GNU Lesser General Public version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
+//
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
 
 #include <TopOpeBRep_FaceEdgeFiller.ixx>
 
@@ -17,9 +28,9 @@
 #include <gp_Pnt2d.hxx>
 
 #ifdef DEB
-Standard_IMPORT void FEINT_DUMPPOINTS(TopOpeBRep_FaceEdgeIntersector& FEINT,
+extern void FEINT_DUMPPOINTS(TopOpeBRep_FaceEdgeIntersector& FEINT,
                             const TopOpeBRepDS_DataStructure& BDS);
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSF(); 
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF(); 
 #endif
 
 //=======================================================================
@@ -63,9 +74,6 @@ void TopOpeBRep_FaceEdgeFiller::Insert
 
   // --- Add <FF,EE> in BDS
   Standard_Integer FFindex = BDS.AddShape(FF,1);
-#ifdef DEB
-  Standard_Integer EEindex =
-#endif
                              BDS.AddShape(EE,2);
 
   // --- get list of interferences connected to edges <FF>,<EE>
@@ -248,7 +256,9 @@ void TopOpeBRep_FaceEdgeFiller::StoreInterference
   // append I to list LI
   LI.Append(I);
 
+#ifdef DEB
   Standard_Boolean appendtoG = Standard_False;
+#endif
   Standard_Integer G = I->Geometry();
 
   // append I to list of interference connected to G = I->Geometry()
@@ -261,12 +271,16 @@ void TopOpeBRep_FaceEdgeFiller::StoreInterference
     break;
     
   case TopOpeBRepDS_SURFACE :
+#ifdef DEB
     appendtoG = Standard_True;
+#endif
     BDS.ChangeSurfaceInterferences(G).Append(I);
     break;
     
   case TopOpeBRepDS_CURVE :
+#ifdef DEB
     appendtoG = Standard_True;
+#endif
     BDS.ChangeCurveInterferences(G).Append(I);
     break;
     
@@ -274,11 +288,8 @@ void TopOpeBRep_FaceEdgeFiller::StoreInterference
 //    appendtoG = Standard_True;
 //    BDS.ChangePointInterferences(G).Append(I);
     break;
-#ifndef DEB
   default:
     break;
-#endif
-
   }
 
 #ifdef DEB
@@ -299,11 +310,7 @@ Standard_Integer TopOpeBRep_FaceEdgeFiller::MakeGeometry
     (TopOpeBRep_FaceEdgeIntersector& FEINT,
      TopOpeBRepDS_DataStructure& BDS) const
 {
-#ifdef DEB
-  Standard_Integer G;
-#else
   Standard_Integer G=0;
-#endif
 
   TopoDS_Vertex V1;
   Standard_Boolean isvertexF = FEINT.IsVertex(1,V1);