0026788: Compiler warnings when OCCT_DEBUG is enabled
[occt.git] / src / BRepTopAdaptor / BRepTopAdaptor_FClass2d.cxx
index af8e377..1b3b5de 100644 (file)
@@ -192,9 +192,8 @@ BRepTopAdaptor_FClass2d::BRepTopAdaptor_FClass2d(const TopoDS_Face& aFace,const
              //-- Try to remote the first point of the current edge 
              //-- from the last saved point
 #ifdef OCCT_DEBUG
              //-- Try to remote the first point of the current edge 
              //-- from the last saved point
 #ifdef OCCT_DEBUG
-             gp_Pnt2d Pnt2dDebutEdgeCourant=
+             gp_Pnt2d Pnt2dDebutEdgeCourant = C.Value(u); (void)Pnt2dDebutEdgeCourant;
 #endif
 #endif
-             C.Value(u);
 
              //Standard_Real Baillement2dU=0;
              //Standard_Real Baillement2dV=0;
 
              //Standard_Real Baillement2dU=0;
              //Standard_Real Baillement2dV=0;