Salome HOME
Remove warnings
authorgdd <gdd>
Thu, 24 Mar 2011 19:46:04 +0000 (19:46 +0000)
committergdd <gdd>
Thu, 24 Mar 2011 19:46:04 +0000 (19:46 +0000)
26 files changed:
src/EntityGUI/EntityGUI_SketcherDlg.cxx
src/GEOMAlgo/GEOMAlgo_Builder.cxx
src/GEOMAlgo/GEOMAlgo_BuilderFace.cxx
src/GEOMAlgo/GEOMAlgo_Builder_1.cxx
src/GEOMAlgo/GEOMAlgo_Builder_2.cxx
src/GEOMAlgo/GEOMAlgo_Builder_3.cxx
src/GEOMAlgo/GEOMAlgo_Builder_4.cxx
src/GEOMAlgo/GEOMAlgo_Gluer1.cxx
src/GEOMAlgo/GEOMAlgo_ShapeSet.cxx
src/GEOMAlgo/GEOMAlgo_ShellSolid.cxx
src/GEOMAlgo/GEOMAlgo_VertexSolid.cxx
src/GEOMAlgo/GEOMAlgo_WireSolid.cxx
src/GEOMImpl/GEOMImpl_ArcDriver.cxx
src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx
src/GEOMImpl/GEOMImpl_IBlocksOperations.cxx
src/GEOMImpl/GEOMImpl_MeasureDriver.cxx
src/NMTTools/NMTTools_IteratorOfCoupleOfShape.cxx
src/NMTTools/NMTTools_PaveFiller_4.cxx
src/NMTTools/NMTTools_PaveFiller_7.cxx
src/NMTTools/NMTTools_PaveFiller_8.cxx
src/OBJECT/GEOM_Actor.cxx
src/OBJECT/GEOM_VTKTrihedron.cxx
src/PrimitiveGUI/PrimitiveGUI_DiskDlg.cxx
src/RepairGUI/RepairGUI_FreeBoundDlg.cxx
src/RepairGUI/RepairGUI_FreeFacesDlg.cxx
src/ShHealOper/ShHealOper_FillHoles.cxx

index fc948361659a1d3787abeade3a2bf0b781476099..00fe1566ca2fa5a75647f56abbbae911a2a07d3c 100644 (file)
@@ -945,13 +945,13 @@ void EntityGUI_SketcherDlg::ClickOnEnd()
   }
   else {
     // PAL16008 (Sketcher Validation should be equal to Apply&Close)
-    if ( Group1Spin->buttonApply->isEnabled() && Group1Spin->isVisible() ||
-         Group2Spin->buttonApply->isEnabled() && Group2Spin->isVisible() ||
-         Group3Spin->buttonApply->isEnabled() && Group3Spin->isVisible() ||
-         Group4Spin->buttonApply->isEnabled() && Group4Spin->isVisible() ||
-         Group1Sel->buttonApply->isEnabled() && Group1Sel->isVisible()  ||
-        Group2Sel->buttonApply->isEnabled() && Group2Sel->isVisible()  ||
-         Group1Sel1Spin->buttonApply->isEnabled() && Group1Sel1Spin->isVisible() )  {     
+    if ( ( Group1Spin->buttonApply->isEnabled() && Group1Spin->isVisible() ) ||
+         ( Group2Spin->buttonApply->isEnabled() && Group2Spin->isVisible() ) ||
+         ( Group3Spin->buttonApply->isEnabled() && Group3Spin->isVisible() ) ||
+         ( Group4Spin->buttonApply->isEnabled() && Group4Spin->isVisible() ) ||
+         ( Group1Sel->buttonApply->isEnabled()  && Group1Sel->isVisible()  ) ||
+         ( Group2Sel->buttonApply->isEnabled()  && Group2Sel->isVisible()  ) ||
+         ( Group1Sel1Spin->buttonApply->isEnabled() && Group1Sel1Spin->isVisible() ) )  {     
       ClickOnApply();
     }
     myIsAllAdded = true;
@@ -2164,17 +2164,17 @@ bool EntityGUI_SketcherDlg::createShapes( GEOM::GEOM_Object_ptr theObject,
                                           TopoDS_Shape&         theLastSegment )
 {
   TopoDS_Shape aShape;
-  if ( !GEOMBase::GetShape( theObject, aShape ) ||
-       aShape.ShapeType() != TopAbs_WIRE && aShape.ShapeType() != TopAbs_VERTEX )
+  if (  !GEOMBase::GetShape( theObject, aShape ) ||
+       ( aShape.ShapeType() != TopAbs_WIRE && aShape.ShapeType() != TopAbs_VERTEX ) )
     return false;
 
-  if ( Group1Sel->isVisible()  && !Group1Sel->buttonApply->isEnabled()  ||
-       Group2Sel->isVisible()  && !Group2Sel->buttonApply->isEnabled()  ||
-       Group1Sel1Spin->isVisible()  && !Group1Sel1Spin->buttonApply->isEnabled()  ||
-       Group1Spin->isVisible() && !Group1Spin->buttonApply->isEnabled() ||
-       Group2Spin->isVisible() && !Group2Spin->buttonApply->isEnabled() ||
-       Group3Spin->isVisible() && !Group3Spin->buttonApply->isEnabled() ||
-       Group4Spin->isVisible() && !Group4Spin->buttonApply->isEnabled() ) {
+  if ( ( Group1Sel->isVisible()  && !Group1Sel->buttonApply->isEnabled() )||
+       ( Group2Sel->isVisible()  && !Group2Sel->buttonApply->isEnabled() ) ||
+       ( Group1Sel1Spin->isVisible()  && !Group1Sel1Spin->buttonApply->isEnabled() ) ||
+       ( Group1Spin->isVisible() && !Group1Spin->buttonApply->isEnabled() ) ||
+       ( Group2Spin->isVisible() && !Group2Spin->buttonApply->isEnabled() ) ||
+       ( Group3Spin->isVisible() && !Group3Spin->buttonApply->isEnabled() ) ||
+       ( Group4Spin->isVisible() && !Group4Spin->buttonApply->isEnabled() ) ) {
      theApplyedWire = aShape;
      return true;
   }
index 6fd87144123ee6602d447b8edb0c2dcf580a0f87..9ce94ec8ffe6931ea9db08858a55bb69ff7e4277 100755 (executable)
   PostTreat();
 }
 //
-static 
-  void CorrectWires(const TopoDS_Shape& aS);
+// static 
+//   void CorrectWires(const TopoDS_Shape& aS);
 //
 //=======================================================================
 //function : PostTreat
index 97b9250c6812f8073312b39494886016ce46ce0d..3208119775cb7e2c379059a9bf51241a7aa97755 100755 (executable)
@@ -190,9 +190,9 @@ static
       if (!myShapesToAvoid.Contains(aE)) {
         TopExp::MapShapesAndAncestors(aE, TopAbs_VERTEX, TopAbs_EDGE, aMVE);
       }
-      else {
-        int a=0;
-      }
+//       else {
+//         int a=0;
+//       }
     }
     aNbV=aMVE.Extent();
     //
index 2c9f3d66e46f2dc75e6ff37a11640af2b10efa73..43a97067cf5a8a6960222b35e7650226fbfe3693 100755 (executable)
@@ -112,7 +112,7 @@ static
   const NMTDS_ShapesDataStructure& aDS=*myPaveFiller->DS();
   NMTTools_PaveFiller* pPF=myPaveFiller;
   const BOPTools_SplitShapesPool& aSSP=pPF->SplitShapesPool();
-  NMTTools_CommonBlockPool& aCBP=pPF->ChangeCommonBlockPool();
+/*  NMTTools_CommonBlockPool& aCBP=*/pPF->ChangeCommonBlockPool();
   IntTools_Context& aCtx=pPF->ChangeContext();
   //
   Standard_Boolean bToReverse;
index 489947dea066b18a8c18dc88465bd1f354ee3f99..fe064bbbe3f22634ed166e23a32bd2f5a444734c 100755 (executable)
@@ -642,7 +642,7 @@ static
   NMTDS_InterfPool* pIP=pPF->IP();
   IntTools_Context& aCtx= pPF->ChangeContext();
   //
-  BOPTools_CArray1OfSSInterference& aFFs=pIP->SSInterferences();
+  /*BOPTools_CArray1OfSSInterference& aFFs=*/pIP->SSInterferences();
   BOPTools_CArray1OfVSInterference& aVFs=pIP->VSInterferences();
   BOPTools_CArray1OfESInterference& aEFs=pIP->ESInterferences();
   const NMTTools_IndexedDataMapOfIndexedMapOfInteger& aMAV=pPF->AloneVertices();
index ef3a0b747a0a893a60dd11b4b24ea46cf0b6a2f1..e6b92ddcb31a0bf9332eb2940363bd8aed5ad89f 100755 (executable)
@@ -94,7 +94,7 @@ void GEOMAlgo_Builder::BuildDraftSolid (const TopoDS_Shape& theSolid,
 {
   myErrorStatus=0;
   //
-  const NMTDS_ShapesDataStructure& aDS=*myPaveFiller->DS();
+  /*const NMTDS_ShapesDataStructure& aDS=**/myPaveFiller->DS();
   NMTTools_PaveFiller* pPF=myPaveFiller;
   IntTools_Context& aCtx= pPF->ChangeContext();
   //
index 9b94938f1115ef3bf5ee8420bf621ce300227039..bb47ae41581389d9cf7a9d66cd37c8348f1cfc2f 100755 (executable)
@@ -51,7 +51,7 @@ static
 //=======================================================================
   const TopTools_ListOfShape& GEOMAlgo_Builder::Generated(const TopoDS_Shape& theS)
 {
-  const NMTDS_ShapesDataStructure& aDS=*myPaveFiller->DS();
+  /*const NMTDS_ShapesDataStructure& aDS=**/myPaveFiller->DS();
   NMTTools_PaveFiller* pPF=myPaveFiller;
   IntTools_Context& aCtx=pPF->ChangeContext();
   //
@@ -106,7 +106,7 @@ static
 //=======================================================================
   const TopTools_ListOfShape& GEOMAlgo_Builder::Modified(const TopoDS_Shape& theS)
 {
-  const NMTDS_ShapesDataStructure& aDS=*myPaveFiller->DS();
+  /*const NMTDS_ShapesDataStructure& aDS=**/myPaveFiller->DS();
   NMTTools_PaveFiller* pPF=myPaveFiller;
   IntTools_Context& aCtx=pPF->ChangeContext();
   //
index d6fdb8d6ffe142dfdd07e8268c47cd84ebe1835c..b01e0802a335bbb971e9b58e33ac41600e825ff9 100755 (executable)
@@ -216,7 +216,7 @@ static
     TopoDS_Shape aSold[2];
     aItLS.Initialize(aLS);
     for (i=0; aItLS.More(); aItLS.Next(), ++i) {
-      const TopoDS_Shape& aSi=aItLS.Value();
+//       const TopoDS_Shape& aSi=aItLS.Value();
       aSold[i]=aItLS.Value();
     }
     //
index 2a1310070ab84bfbe0c6534788b84cc931765763..e30e67f9c74b2a93ced50a7d5e7c5d4cf240c5a8 100755 (executable)
 {
   Standard_Boolean bRet;
   Standard_Integer aNb1, aNb2;
-  TopAbs_Orientation aOr;
   TopTools_ListIteratorOfListOfShape aIt;
   //
   bRet=Standard_True;
index 0b98a07b41f72aecc49e499594903be4862db501..a640e17f316f803e40342a0388e5fc5287ad3e24 100644 (file)
@@ -243,7 +243,7 @@ void GEOMAlgo_ShellSolid::BuildResult()
           const BOPTools_PaveBlock& aPB=aLPB.First();
           nSp=aPB.Edge();
         }
-        const TopoDS_Shape& aSp=aDS.Shape(nSp);
+        /*const TopoDS_Shape& aSp=*/aDS.Shape(nSp);
         //
         aState=aDS.GetState(nSp);
         if (aState==BooleanOperations_IN) {
index 805ad5970fc16b93757e75a96c9ed277c9bb34c4..536d0dfdb36d5cda8fda19a8ca163786984f4484 100644 (file)
@@ -142,7 +142,6 @@ void GEOMAlgo_VertexSolid::Prepare()
   const TopoDS_Shape& aTool=aDS.Tool();
   //
   const TopoDS_Solid& aSolid=(myRank==1) ? TopoDS::Solid(aTool) : TopoDS::Solid(aObj);
-  const TopoDS_Shape& aSV   =(myRank==1)? aObj : aTool;
   //
   BRepClass3d_SolidClassifier& aSC=aCtx.SolidClassifier(aSolid);
   //
index fa718da55d107d68ffa8a0f2dc2f6ca6997afa4b..e9520990480b979af2bb3e728eae4f57442840ea 100644 (file)
@@ -155,7 +155,7 @@ void GEOMAlgo_WireSolid::BuildResult()
       else if (aNbPB==1) {
         const BOPTools_PaveBlock& aPB=aLPB.First();
         nSp=aPB.Edge();
-        const TopoDS_Shape& aSp=aDS.Shape(nSp);
+        /*const TopoDS_Shape& aSp=*/aDS.Shape(nSp);
         aState=aDS.GetState(nSp);
          //
         if (aState==BooleanOperations_IN) {
index 3011ffd8946998bd485c120019c1a496b2b2dbd8..380f656050a73948dacc046e2988aa759ca85430 100644 (file)
@@ -141,10 +141,10 @@ Standard_Integer GEOMImpl_ArcDriver::Execute(TFunction_Logbook& log) const
         GC_MakeEllipse ellipse (aP2, aP3, aP1);
         Handle(Geom_Ellipse) aGeomEllipse = ellipse.Value();
 
-        gp_Vec aV1 (aP1, aP2);
-        gp_Vec aV2 (aP1, aP3);
-
-        double alpha = fabs(aV1.Angle(aV2));
+//         gp_Vec aV1 (aP1, aP2);
+//         gp_Vec aV2 (aP1, aP3);
+// 
+//         double alpha = fabs(aV1.Angle(aV2));
         
         GC_MakeArcOfEllipse arc (aGeomEllipse->Elips(), aP2, aP3, Standard_True);
         aShape = BRepBuilderAPI_MakeEdge(arc).Edge();
index 9a86c59fe1eb4e5b44d9ef32831932ad031b5f59..8b1d434f8ec73846cbab77a8ac967732b2aa0ef6 100644 (file)
@@ -1441,7 +1441,7 @@ GEOMImpl_IAdvancedOperations::MakePipeTShapeChamfer(double theR1, double theW1,
 
   if (edges_e.IsNull() || edges_e->Length() == 0) {
     SetErrorCode("External edges not found");
-    return false;
+    return NULL;
   }
   int nbEdgesInChamfer = 0;
   std::list<int> theEdges;
@@ -1657,7 +1657,7 @@ GEOMImpl_IAdvancedOperations::MakePipeTShapeChamferWithPosition(double theR1, do
 
   if (edges_e.IsNull() || edges_e->Length() == 0) {
     SetErrorCode("External edges not found");
-    return false;
+    return NULL;
   }
   int nbEdgesInChamfer = 0;
   std::list<int> theEdges;
@@ -1845,7 +1845,7 @@ GEOMImpl_IAdvancedOperations::MakePipeTShapeFillet(double theR1, double theW1, d
 
   if (edges_e.IsNull() || edges_e->Length() == 0) {
     SetErrorCode("External edges not found");
-    return false;
+    return NULL;
   }
   int nbEdgesInFillet = 0;
   std::list<int> theEdges;
@@ -2046,7 +2046,7 @@ GEOMImpl_IAdvancedOperations::MakePipeTShapeFilletWithPosition(double theR1, dou
 
   if (edges_e.IsNull() || edges_e->Length() == 0) {
     SetErrorCode("External edges not found");
-    return false;
+    return NULL;
   }
   int nbEdgesInFillet = 0;
   std::list<int> theEdges;
index b4c4ebd77966e4ed495a393afc717d14135a605a..374aa589f3a4d163e60f6e64c38171fe37e9cc38 100644 (file)
@@ -1542,7 +1542,7 @@ Handle(GEOM_Object) GEOMImpl_IBlocksOperations::GetShapesNearPoint
                                          (Handle(GEOM_Object)    theShape,
                                           Handle(GEOM_Object)    thePoint,
                                           const Standard_Integer theShapeType,
-                                          const Standard_Real    theTolerance)
+                                          const Standard_Real    theConstTolerance)
 {
   SetErrorCode(KO);
 
@@ -1572,9 +1572,10 @@ Handle(GEOM_Object) GEOMImpl_IBlocksOperations::GetShapesNearPoint
     SetErrorCode("Invalid type of result is requested");
     return NULL;
   }
-
+  
+  Standard_Real theTolerance = theConstTolerance;
   if (theTolerance < Precision::Confusion()) {
-    theTolerance == Precision::Confusion();
+    theTolerance = Precision::Confusion();
   }
 
   // Compute the result
index c3b9cd0ca273bf8c9eb11df46c53146047ade569..6d8698259ab39d1f5ceba9867268e84ed529e599 100644 (file)
@@ -141,8 +141,8 @@ Standard_Integer GEOMImpl_MeasureDriver::Execute(TFunction_Logbook& log) const
       if (index < 0 || index > 1)
         Standard_NullObject::Raise("Vertex index is out of range");
 
-      if ( anEdgeE.Orientation() == TopAbs_FORWARD && index == 0 ||
-           anEdgeE.Orientation() == TopAbs_REVERSED && index == 1 )
+      if ( ( anEdgeE.Orientation() == TopAbs_FORWARD && index == 0 ) ||
+           ( anEdgeE.Orientation() == TopAbs_REVERSED && index == 1 ) )
         aVertex = aP1;
       else
       aVertex = aP2;
index 5bba9f28d54c49f85ef1edfde2eaa41e8109a1ba..eeb606067648d59a6c44c8f0bdc9be59d1f18676 100644 (file)
@@ -76,7 +76,7 @@
   //
   Standard_Integer n1, n2, aIR1, aIR2;//, aN1, aN2, aNS;
   //
-  const NMTDS_CArray1OfIndexRange& aRanges=myPNMTPS->Ranges();
+  /*const NMTDS_CArray1OfIndexRange& aRanges=*/myPNMTPS->Ranges();
   //
   //aNS=myPNMTPS->NumberOfShapesOfTheObject(); 
   myIndex1=0;
index 22288863add42aaac4ac7e3ca24a26e78320944a..6e0a752acf0d7cdf9e5cf6131bad3cdd8a4dbe7b 100644 (file)
@@ -127,8 +127,8 @@ static
                             const IntTools_Range& aRange,
                             const Standard_Real& aTolerance);
 
-static
-  void EECommonBlocks(const BOPTools_IDMapOfPaveBlockIMapOfPaveBlock& aMapCB);
+// static
+//   void EECommonBlocks(const BOPTools_IDMapOfPaveBlockIMapOfPaveBlock& aMapCB);
 
 static
   void ProcessBlock(const BOPTools_PaveBlock& aPB,
index 08d365f6a97df1495c92319b9b9333ece9fc77fe..14fb0186a6678709db8e96c6ae9e9e347cd74315 100644 (file)
@@ -84,9 +84,9 @@
 #include <NMTTools_ListIteratorOfListOfCommonBlock.hxx>
 // Modified  Thu Sep 14 14:35:18 2006 
 // Contribution of Samtech www.samcef.com BEGIN
-static 
-  void FuseVertices(const TopoDS_Shape& aCompound,
-                    TopTools_DataMapOfShapeShape& aDMVV);
+// static 
+//   void FuseVertices(const TopoDS_Shape& aCompound,
+//                     TopTools_DataMapOfShapeShape& aDMVV);
 // Contribution of Samtech www.samcef.com END
 
 //=======================================================================
@@ -200,7 +200,7 @@ static
     }
     //
     NMTTools_ListOfCommonBlock& aLCB=myCommonBlockPool(myDS->RefEdge(nE));
-    BOPTools_ListOfPaveBlock& aLPB=mySplitShapesPool  (myDS->RefEdge(nE));
+    /*BOPTools_ListOfPaveBlock& aLPB=*/mySplitShapesPool  (myDS->RefEdge(nE));
     //
     aCBIt.Initialize(aLCB);
     for (; aCBIt.More(); aCBIt.Next()) {
@@ -611,7 +611,7 @@ static
 // function: FuseVertices
 // purpose: 
 //=======================================================================
 void NMTTools_PaveFiller::FuseVertices(const TopoDS_Shape& aCompound,
+ void NMTTools_PaveFiller::FuseVertices(const TopoDS_Shape& aCompound,
                                          TopTools_DataMapOfShapeShape& aDMVV)const
 {
   Standard_Integer i, aNbVV, n1, n2, nX;
index fd3a6edaa5f17279c0efe26ea217977ef53230d7..2ea49367224fe05f6aaccfc4dd08a9c62dfa8cf5 100644 (file)
 {
   Standard_Integer nE1;
   //
-  BooleanOperations_ShapesDataStructure *pDS=myDS;
+//   BooleanOperations_ShapesDataStructure *pDS=myDS;
   BooleanOperations_OnceExplorer aExp(*myDS);
   aExp.Init(nF1, TopAbs_EDGE);
   for (; aExp.More(); aExp.Next()) {
   if (aT1!=TopAbs_FACE || aT2!=TopAbs_FACE) {
     return 1; // Type mismatch
   }
-  BooleanOperations_ShapesDataStructure *pDS=myDS;
+//   BooleanOperations_ShapesDataStructure *pDS=myDS;
   BooleanOperations_OnceExplorer aExp(*myDS);
   aExp.Init(nF1, TopAbs_EDGE);
   for (; aExp.More(); aExp.Next()) {
index a0caca9c153da3ad5acbf24d3dc868fa34f4fccc..fb3c5c7fa6720a9f95d5d1a445e781db4d950559 100644 (file)
@@ -686,9 +686,9 @@ GEOM_Actor
     switch(aSelectionMode){
     case ActorSelection : 
     {
-      //      cout << "=============== " << myIO->getEntry() << endl;
-      int nbio = mySelector->IObjectCount();
-      //      cout << " nbio = " << nbio << endl;
+//       cout << "=============== " << myIO->getEntry() << endl;
+//       int nbio = mySelector->IObjectCount();
+//       cout << " nbio = " << nbio << endl;
 
       if( !mySelector->IsSelected( myIO ) ) {
         //      printf ("!!!!!!!!!!!!!!!!\n");
index 4c62e9f367190a66367698c817385d98f594a9bb..cb96f1722a4e034a5316e96e46478423ca7a7e36 100644 (file)
@@ -113,7 +113,7 @@ void GEOM_VTKTrihedronAxis::SetSize( vtkFloatingPointType theSize )
   aTrsf.SetDisplacement( gp_Ax3( gp_Pnt( 0, 0, 0 ), gp_Dir( 1, 0, 0 ) ),
                          gp_Ax3( GetOri(), gp_Dir( myDir[ 0 ], myDir[ 1 ], myDir[ 2 ] ) ) );
 
-  const gp_XYZ& aTrans = aTrsf.TranslationPart();
+//   const gp_XYZ& aTrans = aTrsf.TranslationPart();
   gp_Mat aRot = aTrsf.VectorialPart();
 
   for ( int i = 1; i <= 3; i++ )
index 37036ecfdae2b641f3177a67adf0a81aa0cfd6c8..7f08ac07315e723e60e8956a4d6263890859c843 100755 (executable)
@@ -456,14 +456,14 @@ GEOM::GEOM_IOperations_ptr PrimitiveGUI_DiskDlg::createOperation()
   return getGeomEngine()->GetI3DPrimOperations(getStudyId());
 }
 
-//=================================================================================
-// function : isEqual
-// purpose  : it may also be needed to check for min distance between gp_Pnt-s...
-//=================================================================================
-static bool isEqual (const GEOM::GEOM_Object_var& thePnt1, const GEOM::GEOM_Object_var& thePnt2)
-{
-  return thePnt1->_is_equivalent(thePnt2);
-}
+// //=================================================================================
+// // function : isEqual
+// // purpose  : it may also be needed to check for min distance between gp_Pnt-s...
+// //=================================================================================
+// static bool isEqual (const GEOM::GEOM_Object_var& thePnt1, const GEOM::GEOM_Object_var& thePnt2)
+// {
+//   return thePnt1->_is_equivalent(thePnt2);
+// }
 
 //=================================================================================
 // function : isValid
index ddcb804722295431828f9309495d6501291de798..be93beec84882118f84b1aa52016575e0cdad162 100644 (file)
@@ -63,7 +63,7 @@
 // purpose  : Constructor
 //=================================================================================
 RepairGUI_FreeBoundDlg::RepairGUI_FreeBoundDlg( GeometryGUI* theGUI, QWidget* theParent )
-  : QDialog( theParent, false ),
+  : QDialog( theParent, 0 ),
     GEOMBase_Helper( dynamic_cast<SUIT_Desktop*>( theParent ) ),
     myGeomGUI( theGUI )
 {
index 88007ac2a6489f2a17fdf1c1717ac7d491ba0413..739c1b23ff41cd437d7ae4954aafa68a987feb92 100644 (file)
@@ -68,7 +68,7 @@
 //=================================================================================
 RepairGUI_FreeFacesDlg::RepairGUI_FreeFacesDlg( GeometryGUI* GUI, QWidget* parent,
                                                 bool modal )
-  : QDialog( parent, false ),
+  : QDialog( parent, 0 ),
     GEOMBase_Helper( dynamic_cast<SUIT_Desktop*>( parent ) ),
     myGeomGUI( GUI ), 
     myDisplayer( 0 )
index 2c889259f7d1ac7520750d34d5a9aa1fcd363b53..d4dc621f0d1878bee12e30d588d1f2c178aae0ea 100644 (file)
@@ -370,7 +370,6 @@ Standard_Boolean ShHealOper_FillHoles::addFace(const Handle(Geom_Surface)& theSu
     }
     aB.SameParameter(anEdge,Standard_False);
     aB.Add (aWire, anEdge);
-    Standard_Boolean isAdd = Standard_False;
     TopoDS_Shape aParent;
     if(!myEdgeFaces.Contains(anEdge))
       continue;