From 35e08fe886a54e73963b0cb587e8a0ec0ddc09ae Mon Sep 17 00:00:00 2001 From: omy Date: Thu, 18 Jul 2013 13:09:32 +0400 Subject: [PATCH] 0024057: Eliminate compiler warning C4100 in MSVC++ with warning level 4 Got rid of warning C4100: 'identifier' : unreferenced formal parameter Got rid of compile errors --- src/AIS/AIS_EqualDistanceRelation.cxx | 4 +- src/AIS/AIS_GlobalStatus.cxx | 2 +- src/AIS/AIS_LocalContext.cxx | 2 +- src/AIS/AIS_Triangulation.cxx | 4 +- .../APIHeaderSection_EditHeader.cxx | 8 +-- .../Adaptor3d_SurfaceOfRevolution.cxx | 3 - src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx | 4 +- src/BOPTools/BOPTools_AlgoTools.cxx | 2 +- src/BRepApprox/BRepApprox_SurfaceToolGen.gxx | 20 +++--- src/BRepBlend/BRepBlend_AppFuncRoot.cxx | 22 +++--- src/BRepBlend/BRepBlend_BlendTool.cxx | 12 ++-- src/BRepBlend/BRepBlend_SurfRstEvolRad.cxx | 21 +++--- src/BRepBuilderAPI/BRepBuilderAPI_Copy.cxx | 9 ++- .../BRepBuilderAPI_MakeShape.cxx | 6 +- .../BRepBuilderAPI_NurbsConvert.cxx | 4 +- src/BRepCheck/BRepCheck_Wire.cxx | 2 +- src/BRepFill/BRepFill_CompatibleWires.cxx | 2 +- src/BRepFill/BRepFill_Evolved.cxx | 4 +- src/BRepFill/BRepFill_Pipe.cxx | 2 +- src/BRepMesh/BRepMesh_Delaun.cxx | 2 +- src/BRepMesh/BRepMesh_VertexInspector.hxx | 2 +- src/BRepMesh/BRepMesh_VertexTool.cxx | 2 +- src/BRepOffset/BRepOffset_Inter3d.cxx | 16 ++--- src/BRepOffset/BRepOffset_MakeOffset.cxx | 4 +- src/BRepOffset/BRepOffset_Tool.cxx | 4 +- src/BRepTest/BRepTest_BasicCommands.cxx | 2 +- src/BRepTest/BRepTest_SweepCommands.cxx | 2 +- .../BRepTools_NurbsConvertModification.cxx | 67 ++++++++----------- src/BRepTopAdaptor/BRepTopAdaptor_Tool.cxx | 12 ++-- src/BiTgte/BiTgte_Blend.cxx | 12 ++-- src/BiTgte/BiTgte_CurveOnEdge.cxx | 28 ++++---- src/BiTgte/BiTgte_CurveOnVertex.cxx | 35 +++++----- src/Blend/Blend_CSFunction.cxx | 20 +++--- src/Blend/Blend_Function.cxx | 20 +++--- src/BlendFunc/BlendFunc_CSCircular.cxx | 4 +- src/BlendFunc/BlendFunc_CSConstRad.cxx | 2 +- src/BlendFunc/BlendFunc_ChAsym.cxx | 28 ++++---- src/BlendFunc/BlendFunc_Chamfer.cxx | 32 +++++---- src/BlendFunc/BlendFunc_Ruled.cxx | 30 ++++----- src/CDM/CDM_NullMessageDriver.cxx | 2 +- src/ChFi2d/ChFi2d_Builder_0.cxx | 2 +- src/ChFiDS/ChFiDS_FilSpine.cxx | 2 +- src/ChFiKPart/ChFiKPart_ComputeData_CS.cxx | 2 +- .../ChFiKPart_ComputeData_ChAsymPlnCyl.cxx | 4 +- .../ChFiKPart_ComputeData_ChPlnCyl.cxx | 4 +- .../ChFiKPart_ComputeData_Sphere.cxx | 2 +- src/DDF/DDF_Data.cxx | 2 +- src/DDataStd/DDataStd_DrawPresentation.cxx | 7 +- src/DDataStd/DDataStd_TreeBrowser.cxx | 2 +- src/DDocStd/DDocStd.cxx | 2 +- src/DDocStd/DDocStd_DrawDocument.cxx | 4 +- .../DNaming_BooleanOperationDriver.cxx | 4 +- src/DNaming/DNaming_BoxDriver.cxx | 4 +- src/DNaming/DNaming_CylinderDriver.cxx | 4 +- src/DNaming/DNaming_FilletDriver.cxx | 4 +- src/DNaming/DNaming_Line3DDriver.cxx | 4 +- src/DNaming/DNaming_ModelingCommands.cxx | 10 +-- src/DNaming/DNaming_PointDriver.cxx | 4 +- src/DNaming/DNaming_PrismDriver.cxx | 4 +- src/DNaming/DNaming_RevolutionDriver.cxx | 4 +- src/DNaming/DNaming_SphereDriver.cxx | 4 +- src/DNaming/DNaming_TransformationDriver.cxx | 4 +- src/Draw/CommandWindow.cxx | 2 +- src/Draw/Draw_BasicCommands.cxx | 7 +- src/Draw/Draw_Main.cxx | 4 +- src/Draw/Draw_VariableCommands.cxx | 2 +- src/Draw/Draw_Viewer.cxx | 2 +- src/Draw/MainWindow.cxx | 2 +- src/DsgPrs/DsgPrs.cxx | 2 +- src/DsgPrs/DsgPrs_AnglePresentation.cxx | 2 +- src/DsgPrs/DsgPrs_OffsetPresentation.cxx | 4 +- src/Extrema/Extrema_GenExtCC.gxx | 4 +- src/Extrema/Extrema_GenExtPS.cxx | 2 +- src/FWOSDriver/FWOSDriver.cxx | 2 +- src/FWOSDriver/FWOSDriver_Driver.cxx | 6 +- src/GccAna/GccAna_Circ2d2TanOn_9.cxx | 6 +- src/GccAna/GccAna_Circ2d2TanRad_4.cxx | 6 +- src/GccAna/GccAna_Circ2d3Tan_3.cxx | 5 +- src/GccIter/GccIter_FunctionTanCuCuCu.gxx | 14 ++-- src/GeomFill/GeomFill_DiscreteTrihedron.cxx | 4 +- src/GeomFill/GeomFill_GuideTrihedronPlan.cxx | 2 +- src/GeomFill/GeomFill_PlanFunc.cxx | 2 +- src/GeomPlate/GeomPlate_BuildPlateSurface.cxx | 10 +-- .../GeometryTest_API2dCommands.cxx | 2 +- .../GeometryTest_SurfaceCommands.cxx | 2 +- .../GeomliteTest_ModificationCommands.cxx | 2 +- src/Graphic3d/Graphic3d_Plotter.cxx | 2 +- src/Graphic3d/Graphic3d_Structure.cxx | 8 ++- src/HLRBRep/HLRBRep_CurveTool.cxx | 4 +- src/HLRBRep/HLRBRep_CurveTool.lxx | 8 +-- src/HLRBRep/HLRBRep_Data.cxx | 4 +- src/HLRBRep/HLRBRep_Intersector.cxx | 4 +- src/HLRTest/HLRTest_OutLiner.cxx | 2 +- src/HLRTopoBRep/HLRTopoBRep_DSFiller.cxx | 2 +- src/IFSelect/IFSelect_ModifEditForm.cxx | 4 +- src/IFSelect/IFSelect_ModifReorder.cxx | 7 +- src/IFSelect/IFSelect_ParamEditor.cxx | 12 ++-- src/IFSelect/IFSelect_SelectSignature.cxx | 4 +- src/IFSelect/IFSelect_SignAncestor.cxx | 4 +- src/IFSelect/IFSelect_SignType.cxx | 2 +- src/IGESAppli/IGESAppli_GeneralModule.cxx | 2 +- src/IGESBasic/IGESBasic_Protocol.cxx | 2 +- src/IGESCAFControl/IGESCAFControl_Reader.cxx | 4 +- src/IGESData/IGESData_GeneralModule.cxx | 2 +- src/IGESData/IGESData_Protocol.cxx | 2 +- src/IGESDefs/IGESDefs_GeneralModule.cxx | 2 +- src/IGESDefs/IGESDefs_Protocol.cxx | 2 +- src/IGESDefs/IGESDefs_TabularData.cxx | 4 +- src/IGESDimen/IGESDimen_GeneralModule.cxx | 2 +- src/IGESDraw/IGESDraw_Protocol.cxx | 2 +- src/IGESGeom/IGESGeom_Protocol.cxx | 2 +- src/IGESGraph/IGESGraph_GeneralModule.cxx | 2 +- src/IGESGraph/IGESGraph_Protocol.cxx | 2 +- src/IGESSelect/IGESSelect_AddGroup.cxx | 7 +- src/IGESSelect/IGESSelect_EditDirPart.cxx | 6 +- src/IGESSelect/IGESSelect_EditHeader.cxx | 8 +-- src/IGESSelect/IGESSelect_FloatFormat.cxx | 2 +- src/IGESSelect/IGESSelect_IGESName.cxx | 2 +- src/IGESSelect/IGESSelect_IGESTypeForm.cxx | 2 +- src/IGESSelect/IGESSelect_RemoveCurves.cxx | 7 +- src/IGESSelect/IGESSelect_SelectBasicGeom.cxx | 4 +- .../IGESSelect_SelectBypassGroup.cxx | 4 +- .../IGESSelect_SelectBypassSubfigure.cxx | 4 +- src/IGESSelect/IGESSelect_SelectFaces.cxx | 4 +- .../IGESSelect_SelectLevelNumber.cxx | 5 +- src/IGESSelect/IGESSelect_SelectName.cxx | 5 +- src/IGESSelect/IGESSelect_SelectPCurves.cxx | 2 +- .../IGESSelect_SelectSubordinate.cxx | 2 +- .../IGESSelect_SelectVisibleStatus.cxx | 5 +- src/IGESSelect/IGESSelect_SetLabel.cxx | 7 +- src/IGESSelect/IGESSelect_SignStatus.cxx | 4 +- src/IGESSelect/IGESSelect_UpdateFileName.cxx | 6 +- src/IGESSolid/IGESSolid_GeneralModule.cxx | 2 +- src/IGESSolid/IGESSolid_Protocol.cxx | 2 +- src/IGESSolid/IGESSolid_ReadWriteModule.cxx | 2 +- src/Image/Image_AlienPixMap.cxx | 28 +++++--- src/IntCurve/IntCurve_IntPolyPolyGen.gxx | 2 +- src/IntPolyh/IntPolyh_Intersection.cxx | 4 +- src/IntPolyh/IntPolyh_Triangle.cxx | 16 ++--- src/Interface/Interface_FileReaderData.cxx | 7 +- src/Interface/Interface_Graph.cxx | 6 +- src/Interface/Interface_IntList.cxx | 2 +- .../InterfaceGraphic_cPrintf.cxx | 2 +- .../Intf_InterferencePolygonPolyhedron.gxx | 13 ++-- src/Intf/Intf_TangentZone.cxx | 4 +- src/LocOpe/LocOpe_WiresOnShape.lxx | 2 +- src/MAT2d/MAT2d_Circuit.cxx | 2 +- src/MAT2d/MAT2d_Tool2d.cxx | 2 +- .../MDataStd_BooleanListStorageDriver.cxx | 2 +- .../MDataStd_DirectoryRetrievalDriver.cxx | 4 +- .../MDataStd_ExtStringListStorageDriver.cxx | 2 +- .../MDataStd_IntegerArrayStorageDriver.cxx | 2 +- .../MDataStd_IntegerListStorageDriver.cxx | 2 +- .../MDataStd_NamedDataStorageDriver.cxx | 2 +- .../MDataStd_RealArrayStorageDriver.cxx | 2 +- .../MDataStd_RealListStorageDriver.cxx | 2 +- .../MDataStd_ReferenceArrayStorageDriver.cxx | 2 +- .../MDataStd_ReferenceListStorageDriver.cxx | 2 +- .../MDataStd_UAttributeRetrievalDriver.cxx | 2 +- .../MDataXtd_ShapeRetrievalDriver.cxx | 4 +- ...MPrsStd_AISPresentationRetrievalDriver.cxx | 4 +- ...rsStd_AISPresentationRetrievalDriver_1.cxx | 4 +- .../MPrsStd_AISPresentationStorageDriver.cxx | 2 +- .../MPrsStd_PositionRetrievalDriver.cxx | 2 +- src/MPrsStd/MPrsStd_PositionStorageDriver.cxx | 2 +- src/MXCAFDoc/MXCAFDoc_AreaRetrievalDriver.cxx | 2 +- src/MXCAFDoc/MXCAFDoc_AreaStorageDriver.cxx | 2 +- .../MXCAFDoc_CentroidRetrievalDriver.cxx | 2 +- .../MXCAFDoc_CentroidStorageDriver.cxx | 4 +- .../MXCAFDoc_DatumRetrievalDriver.cxx | 2 +- src/MXCAFDoc/MXCAFDoc_DatumStorageDriver.cxx | 4 +- .../MXCAFDoc_DimTolRetrievalDriver.cxx | 2 +- src/MXCAFDoc/MXCAFDoc_DimTolStorageDriver.cxx | 2 +- .../MXCAFDoc_MaterialRetrievalDriver.cxx | 2 +- .../MXCAFDoc_MaterialStorageDriver.cxx | 2 +- .../MXCAFDoc_VolumeRetrievalDriver.cxx | 2 +- src/MXCAFDoc/MXCAFDoc_VolumeStorageDriver.cxx | 2 +- src/MeshTest/MeshTest.cxx | 4 +- src/MeshTest/MeshTest_DrawableMesh.cxx | 4 +- src/MeshTest/MeshTest_PluginCommands.cxx | 2 +- src/MoniTool/MoniTool_SignShape.cxx | 2 +- src/NIS/NIS_InteractiveObject.cxx | 6 +- src/NLPlate/NLPlate_HGPPConstraint.cxx | 14 ++-- src/NLPlate/NLPlate_NLPlate.cxx | 2 +- src/OSD/OSD_DirectoryIterator.cxx | 4 +- src/OSD/OSD_FileIterator.cxx | 4 +- src/OpenGl/OpenGl_AspectLine.cxx | 2 +- src/OpenGl/OpenGl_AspectMarker.cxx | 2 +- src/OpenGl/OpenGl_AspectText.cxx | 2 +- src/OpenGl/OpenGl_Display.cxx | 5 +- src/OpenGl/OpenGl_GraphicDriver.cxx | 4 +- src/OpenGl/OpenGl_GraphicDriver_7.cxx | 12 +++- src/OpenGl/OpenGl_GraphicDriver_713.cxx | 2 +- src/OpenGl/OpenGl_GraphicDriver_Export.cxx | 26 +++++-- src/OpenGl/OpenGl_Marker.cxx | 2 +- src/OpenGl/OpenGl_MarkerSet.cxx | 2 +- src/OpenGl/OpenGl_Text.cxx | 9 ++- src/OpenGl/OpenGl_TextFormatter.cxx | 2 +- src/OpenGl/OpenGl_View_2.cxx | 2 +- src/OpenGl/OpenGl_Workspace_5.cxx | 2 +- src/OpenGl/OpenGl_telem_view.cxx | 4 +- src/ProjLib/ProjLib_ProjectedCurve.cxx | 18 ++--- src/Prs3d/Prs3d_RadiusAspect.cxx | 4 +- src/Prs3d/Prs3d_WFShape.hxx | 8 +-- src/QABugs/QABugs_11.cxx | 2 +- src/QABugs/QABugs_17.cxx | 2 +- src/QABugs/QABugs_18.cxx | 2 +- src/QABugs/QABugs_19.cxx | 6 +- src/QABugs/QABugs_3.cxx | 2 +- src/QABugs/QABugs_MyText.cxx | 6 +- .../QANewBRepNaming_Gluing.cxx | 3 +- src/QANewDBRepNaming/QANewDBRepNaming.cxx | 4 +- .../RWHeaderSection_GeneralModule.cxx | 8 +-- .../RWHeaderSection_ReadWriteModule.cxx | 2 +- src/RWStepAP214/RWStepAP214_RWClass.cxx | 5 +- .../RWStepAP214_RWRepItemGroup.cxx | 6 +- .../RWStepBasic_RWActionMethod.cxx | 5 +- .../RWStepBasic_RWCertificationType.cxx | 5 +- .../RWStepBasic_RWCharacterizedObject.cxx | 5 +- .../RWStepBasic_RWContractType.cxx | 5 +- .../RWStepBasic_RWDocumentType.cxx | 2 +- src/RWStepBasic/RWStepBasic_RWEffectivity.cxx | 2 +- src/RWStepBasic/RWStepBasic_RWEulerAngles.cxx | 5 +- .../RWStepBasic_RWGeneralProperty.cxx | 5 +- src/RWStepBasic/RWStepBasic_RWGroup.cxx | 5 +- .../RWStepBasic_RWIdentificationRole.cxx | 5 +- .../RWStepBasic_RWNameAssignment.cxx | 5 +- src/RWStepBasic/RWStepBasic_RWObjectRole.cxx | 4 +- .../RWStepBasic_RWVersionedActionRequest.cxx | 4 +- ...StepElement_RWCurve3dElementDescriptor.cxx | 4 +- ...lement_RWCurveElementSectionDefinition.cxx | 5 +- .../RWStepElement_RWElementDescriptor.cxx | 5 +- ...epElement_RWSurface3dElementDescriptor.cxx | 4 +- .../RWStepElement_RWSurfaceSection.cxx | 4 +- .../RWStepElement_RWSurfaceSectionField.cxx | 10 +-- .../RWStepElement_RWUniformSurfaceSection.cxx | 4 +- ...tepElement_RWVolume3dElementDescriptor.cxx | 4 +- ...nstantSurface3dElementCoordinateSystem.cxx | 6 +- src/RWStepFEA/RWStepFEA_RWFeaAreaDensity.cxx | 6 +- src/RWStepFEA/RWStepFEA_RWFeaMassDensity.cxx | 6 +- ...WFeaMaterialPropertyRepresentationItem.cxx | 5 +- .../RWStepFEA_RWFeaParametricPoint.cxx | 6 +- .../RWStepFEA_RWFeaRepresentationItem.cxx | 5 +- ...metricSurface3dElementCoordinateSystem.cxx | 6 +- ...textAndParametricRepresentationContext.cxx | 2 +- src/RWStepVisual/RWStepVisual_RWColour.cxx | 6 +- .../RWStepVisual_RWPresentationSet.cxx | 6 +- src/STEPEdit/STEPEdit_EditContext.cxx | 8 +-- src/STEPEdit/STEPEdit_EditSDR.cxx | 4 +- .../STEPSelections_SelectAssembly.cxx | 2 +- .../STEPSelections_SelectDerived.cxx | 4 +- .../STEPSelections_SelectFaces.cxx | 2 +- .../STEPSelections_SelectGSCurves.cxx | 2 +- .../STEPSelections_SelectInstances.cxx | 8 +-- src/Select3D/Select3D_SensitiveBox.cxx | 4 +- src/Select3D/Select3D_SensitiveEntity.cxx | 22 +++--- src/Select3D/Select3D_SensitivePoint.cxx | 2 +- src/Select3D/Select3D_SensitiveSegment.cxx | 2 +- src/SelectMgr/SelectMgr_EntityOwner.cxx | 8 +-- src/SelectMgr/SelectMgr_Filter.cxx | 2 +- .../ShapeUpgrade_UnifySameDomain.cxx | 2 +- src/StdPrs/StdPrs_PoleCurve.cxx | 4 +- src/StdSelect/StdSelect.cxx | 4 +- src/StdSelect/StdSelect_BRepSelectionTool.cxx | 2 +- src/StdSelect/StdSelect_Shape.cxx | 2 +- src/StepBasic/StepBasic_SizeMember.cxx | 2 +- src/StepData/StepData_DefaultGeneral.cxx | 8 +-- src/StepData/StepData_DescrGeneral.cxx | 22 +++--- src/StepData/StepData_FieldList.cxx | 4 +- src/StepData/StepData_FileProtocol.cxx | 2 +- src/StepData/StepData_PDescr.cxx | 2 +- src/StepData/StepData_ReadWriteModule.cxx | 30 +++++---- src/StepData/StepData_SelectMember.cxx | 14 ++-- src/StepData/StepData_SelectType.cxx | 2 +- src/StepData/StepData_StepWriter.cxx | 17 +---- .../StepElement_CurveElementFreedom.cxx | 2 +- .../StepElement_CurveElementFreedomMember.cxx | 2 +- .../StepElement_CurveElementPurpose.cxx | 2 +- .../StepElement_CurveElementPurposeMember.cxx | 2 +- src/StepElement/StepElement_ElementAspect.cxx | 2 +- .../StepElement_MeasureOrUnspecifiedValue.cxx | 2 +- ...lement_MeasureOrUnspecifiedValueMember.cxx | 2 +- .../StepElement_SurfaceElementPurpose.cxx | 2 +- ...tepElement_SurfaceElementPurposeMember.cxx | 2 +- .../StepElement_VolumeElementPurpose.cxx | 2 +- ...StepElement_VolumeElementPurposeMember.cxx | 2 +- src/StepFEA/StepFEA_DegreeOfFreedom.cxx | 2 +- src/StepFEA/StepFEA_DegreeOfFreedomMember.cxx | 2 +- src/StepFEA/StepFEA_SymmetricTensor23d.cxx | 6 +- src/StepFEA/StepFEA_SymmetricTensor43d.cxx | 2 +- src/StepGeom/StepGeom_TrimmingMember.cxx | 2 +- src/StepSelect/StepSelect_FloatFormat.cxx | 2 +- src/StepSelect/StepSelect_StepType.cxx | 2 +- src/StepShape/StepShape_OrientedPath.cxx | 2 +- src/StepVisual/StepVisual_MarkerMember.cxx | 22 +++--- src/StepVisual/StepVisual_MarkerSelect.cxx | 2 +- src/TDF/TDF_Attribute.cxx | 14 ++-- src/TDF/TDF_IDFilter.cxx | 2 +- src/TDF/TDF_TagSource.cxx | 5 +- src/TDF/TDF_Transaction.cxx | 2 +- src/TDataStd/TDataStd_Directory.cxx | 8 +-- src/TDataStd/TDataStd_Integer.cxx | 2 +- src/TDataStd/TDataStd_Real.cxx | 2 +- src/TDataStd/TDataStd_ReferenceArray.cxx | 2 +- src/TDataStd/TDataStd_Tick.cxx | 6 +- src/TDataStd/TDataStd_TreeNode.cxx | 4 +- src/TDataStd/TDataStd_UAttribute.cxx | 4 +- src/TDataXtd/TDataXtd_Axis.cxx | 6 +- src/TDataXtd/TDataXtd_Geometry.cxx | 2 +- src/TDataXtd/TDataXtd_Placement.cxx | 8 +-- src/TDataXtd/TDataXtd_Plane.cxx | 4 +- src/TDataXtd/TDataXtd_Point.cxx | 11 +-- src/TDataXtd/TDataXtd_Shape.cxx | 8 +-- src/TDocStd/TDocStd_Modified.cxx | 4 +- src/TDocStd/TDocStd_Owner.cxx | 6 +- src/TDocStd/TDocStd_XLink.cxx | 6 +- src/TDocStd/TDocStd_XLinkRoot.cxx | 6 +- src/TFunction/TFunction_Function.cxx | 2 +- src/TNaming/TNaming_UsedShapes.cxx | 10 +-- src/TPrsStd/TPrsStd_AISViewer.cxx | 6 +- src/TPrsStd/TPrsStd_ConstraintTools.cxx | 2 +- src/TestTopOpe/TestTopOpe_OtherCommands.cxx | 2 +- .../TestTopOpeDraw_DrawableC2D.cxx | 2 +- .../TestTopOpeDraw_DrawableC3D.cxx | 2 +- .../TestTopOpeDraw_DrawableSUR.cxx | 2 +- .../TestTopOpeDraw_OtherCommands.cxx | 2 +- .../TestTopOpeTools_OtherCommands.cxx | 2 +- src/TopOpeBRep/TopOpeBRep_DSFiller.cxx | 2 +- src/TopOpeBRep/TopOpeBRep_EdgesFiller.cxx | 2 +- src/TopOpeBRep/TopOpeBRep_FacesFiller_1.cxx | 16 ++++- src/TopOpeBRep/TopOpeBRep_GeomTool.cxx | 9 ++- src/TopOpeBRep/TopOpeBRep_kpart.cxx | 19 ++++-- src/TopOpeBRep/TopOpeBRep_trace.cxx | 2 +- .../TopOpeBRepBuild_ShapeSet.cxx | 56 +++++++++++++--- .../TopOpeBRepBuild_ShellFaceSet.cxx | 50 +++++++++++--- src/TopOpeBRepTool/TopOpeBRepTool_faulty.cxx | 2 +- src/TransferBRep/TransferBRep_ShapeInfo.cxx | 2 +- src/ViewerTest/ViewerTest_AviCommands.cxx | 2 +- src/ViewerTest/ViewerTest_ObjectCommands.cxx | 54 +++++++-------- src/ViewerTest/ViewerTest_OpenGlCommands.cxx | 14 ++-- src/ViewerTest/ViewerTest_ViewerCommands.cxx | 6 +- src/Visual3d/Visual3d_View.cxx | 2 +- src/Visual3d/Visual3d_ViewOrientation.cxx | 4 +- src/Voxel/Voxel_FastConverter.cxx | 4 +- src/VrmlData/VrmlData_Scene.cxx | 2 +- src/WNT/W32_Allocator.hxx | 2 +- src/WNT/W95_Allocator.cxx | 42 ++++++------ src/WNT/WNT_Allocator.cxx | 42 ++++++------ .../XSDRAWSTLVRML_DataSource.cxx | 2 +- .../XSDRAWSTLVRML_DrawableMesh.cxx | 2 +- src/math/math_KronrodSingleIntegration.cxx | 2 +- 351 files changed, 1087 insertions(+), 986 deletions(-) diff --git a/src/AIS/AIS_EqualDistanceRelation.cxx b/src/AIS/AIS_EqualDistanceRelation.cxx index 58d623c06e..4064c87a9c 100755 --- a/src/AIS/AIS_EqualDistanceRelation.cxx +++ b/src/AIS/AIS_EqualDistanceRelation.cxx @@ -213,8 +213,8 @@ void AIS_EqualDistanceRelation::Compute( const Handle( PrsMgr_PresentationManage //purpose : to avoid warning at compilation (SUN) //======================================================================= -void AIS_EqualDistanceRelation::Compute( const Handle( Prs3d_Projector )& aProjector, - const Handle( Prs3d_Presentation )& aPresentation) +void AIS_EqualDistanceRelation::Compute( const Handle( Prs3d_Projector )& /*aProjector*/, + const Handle( Prs3d_Presentation )& /*aPresentation*/) { // Standard_NotImplemented::Raise("AIS_EqualDistanceRelation::Compute( const Handle( Prs3d_Projector )&, // const Handle( Prs3d_Presentation )& )"); diff --git a/src/AIS/AIS_GlobalStatus.cxx b/src/AIS/AIS_GlobalStatus.cxx index 3f472498c9..d29a577b24 100755 --- a/src/AIS/AIS_GlobalStatus.cxx +++ b/src/AIS/AIS_GlobalStatus.cxx @@ -34,7 +34,7 @@ mySubInt(Standard_False) AIS_GlobalStatus::AIS_GlobalStatus(const AIS_DisplayStatus DS, const Standard_Integer DMode, const Standard_Integer SMode, - const Standard_Boolean ishilighted, + const Standard_Boolean /*ishilighted*/, const Quantity_NameOfColor TheHiCol, const Standard_Integer Layer): myStatus(DS), diff --git a/src/AIS/AIS_LocalContext.cxx b/src/AIS/AIS_LocalContext.cxx index 651fa307dc..4997c384e4 100755 --- a/src/AIS/AIS_LocalContext.cxx +++ b/src/AIS/AIS_LocalContext.cxx @@ -103,7 +103,7 @@ AIS_LocalContext::AIS_LocalContext(const Handle(AIS_InteractiveContext)& aCtx, const Standard_Boolean LoadDisplayed, const Standard_Boolean AcceptStandardModes, const Standard_Boolean AcceptEraseOfTemp, - const Standard_Boolean BothViewers): + const Standard_Boolean /*BothViewers*/): myCTX(aCtx), myLoadDisplayed(LoadDisplayed), myAcceptStdMode(AcceptStandardModes), diff --git a/src/AIS/AIS_Triangulation.cxx b/src/AIS/AIS_Triangulation.cxx index 8ad9d3ace6..e6c6a5c91f 100755 --- a/src/AIS/AIS_Triangulation.cxx +++ b/src/AIS/AIS_Triangulation.cxx @@ -47,7 +47,7 @@ AIS_Triangulation::AIS_Triangulation(const Handle(Poly_Triangulation)& Triangula //function : Compute //purpose : //======================================================================= -void AIS_Triangulation::Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager, +void AIS_Triangulation::Compute(const Handle(PrsMgr_PresentationManager3d)& /*aPresentationManager*/, const Handle(Prs3d_Presentation)& aPresentation, const Standard_Integer aMode) { @@ -134,7 +134,7 @@ void AIS_Triangulation::Compute(const Handle(PrsMgr_PresentationManager3d)& aPre //function : ComputeSelection //purpose : //======================================================================= -void AIS_Triangulation::ComputeSelection(const Handle(SelectMgr_Selection)& aSelection, +void AIS_Triangulation::ComputeSelection(const Handle(SelectMgr_Selection)& /*aSelection*/, const Standard_Integer /*aMode*/) { diff --git a/src/APIHeaderSection/APIHeaderSection_EditHeader.cxx b/src/APIHeaderSection/APIHeaderSection_EditHeader.cxx index 208e67552c..01c22ef088 100755 --- a/src/APIHeaderSection/APIHeaderSection_EditHeader.cxx +++ b/src/APIHeaderSection/APIHeaderSection_EditHeader.cxx @@ -96,11 +96,11 @@ static Standard_Boolean IsTimeStamp { return TCollection_AsciiString ("Step Header"); } Standard_Boolean APIHeaderSection_EditHeader::Recognize - (const Handle(IFSelect_EditForm)& form) const + (const Handle(IFSelect_EditForm)& /*form*/) const { return Standard_True; } // ?? Handle(TCollection_HAsciiString) APIHeaderSection_EditHeader::StringValue - (const Handle(IFSelect_EditForm)& form, const Standard_Integer num) const + (const Handle(IFSelect_EditForm)& /*form*/, const Standard_Integer num) const { // Default Values return TypedValue(num)->HStringValue(); @@ -108,7 +108,7 @@ static Standard_Boolean IsTimeStamp Standard_Boolean APIHeaderSection_EditHeader::Load (const Handle(IFSelect_EditForm)& form, - const Handle(Standard_Transient)& ent, + const Handle(Standard_Transient)& /*ent*/, const Handle(Interface_InterfaceModel)& model) const { Handle(StepData_StepModel) modl = @@ -135,7 +135,7 @@ static Standard_Boolean IsTimeStamp Standard_Boolean APIHeaderSection_EditHeader::Apply (const Handle(IFSelect_EditForm)& form, - const Handle(Standard_Transient)& ent, + const Handle(Standard_Transient)& /*ent*/, const Handle(Interface_InterfaceModel)& model) const { Handle(StepData_StepModel) modl = diff --git a/src/Adaptor3d/Adaptor3d_SurfaceOfRevolution.cxx b/src/Adaptor3d/Adaptor3d_SurfaceOfRevolution.cxx index a93aaa4efe..ad27bfc449 100755 --- a/src/Adaptor3d/Adaptor3d_SurfaceOfRevolution.cxx +++ b/src/Adaptor3d/Adaptor3d_SurfaceOfRevolution.cxx @@ -283,9 +283,6 @@ Handle(Adaptor3d_HSurface) Adaptor3d_SurfaceOfRevolution::UTrim Last #endif ,const Standard_Real -#ifndef No_Exception - Tol -#endif ) const { #ifndef No_Exception diff --git a/src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx b/src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx index ea639d693b..a691e44005 100644 --- a/src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx +++ b/src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx @@ -1286,8 +1286,8 @@ static void ToleranceFF(const TopoDS_Face& aF1, //function : ProcessUnUsedVertices //purpose : //======================================================================= - void BOPAlgo_PaveFiller::PutEFPavesOnCurve(const Standard_Integer nF1, - const Standard_Integer nF2, + void BOPAlgo_PaveFiller::PutEFPavesOnCurve(const Standard_Integer /*nF1*/, + const Standard_Integer /*nF2*/, BOPDS_Curve& aNC, const BOPCol_MapOfInteger& aMVEF) { diff --git a/src/BOPTools/BOPTools_AlgoTools.cxx b/src/BOPTools/BOPTools_AlgoTools.cxx index c6e3bf372d..59439bc639 100644 --- a/src/BOPTools/BOPTools_AlgoTools.cxx +++ b/src/BOPTools/BOPTools_AlgoTools.cxx @@ -1777,7 +1777,7 @@ Standard_Real fsqrt(Standard_Real val) Standard_Boolean FindPointInFace(const TopoDS_Edge& aE, const TopoDS_Face& aF, const gp_Pnt& aP, - const Standard_Real aT, + const Standard_Real /*aT*/, gp_Dir& aDB, gp_Pnt& aPOut, Handle(BOPInt_Context)& theContext, diff --git a/src/BRepApprox/BRepApprox_SurfaceToolGen.gxx b/src/BRepApprox/BRepApprox_SurfaceToolGen.gxx index 7c2c25c08e..d1255f6883 100755 --- a/src/BRepApprox/BRepApprox_SurfaceToolGen.gxx +++ b/src/BRepApprox/BRepApprox_SurfaceToolGen.gxx @@ -23,22 +23,26 @@ #include TheSurface_hxx -Standard_Integer BRepApprox_SurfaceToolGen::NbSamplesU(const TheSurface& S) { +Standard_Integer BRepApprox_SurfaceToolGen::NbSamplesU (const TheSurface&) +{ return(10); } -Standard_Integer BRepApprox_SurfaceToolGen::NbSamplesV(const TheSurface& S) { +Standard_Integer BRepApprox_SurfaceToolGen::NbSamplesV (const TheSurface&) +{ return(10); } -Standard_Integer BRepApprox_SurfaceToolGen::NbSamplesU(const TheSurface& S, - const Standard_Real u1, - const Standard_Real u2) { +Standard_Integer BRepApprox_SurfaceToolGen::NbSamplesU (const TheSurface&, + const Standard_Real, + const Standard_Real) +{ return(10); } -Standard_Integer BRepApprox_SurfaceToolGen::NbSamplesV(const TheSurface& S, - const Standard_Real v1, - const Standard_Real v2) { +Standard_Integer BRepApprox_SurfaceToolGen::NbSamplesV (const TheSurface&, + const Standard_Real, + const Standard_Real) +{ return(10); } diff --git a/src/BRepBlend/BRepBlend_AppFuncRoot.cxx b/src/BRepBlend/BRepBlend_AppFuncRoot.cxx index 522dfee4ef..9863108aa1 100755 --- a/src/BRepBlend/BRepBlend_AppFuncRoot.cxx +++ b/src/BRepBlend/BRepBlend_AppFuncRoot.cxx @@ -88,18 +88,20 @@ BRepBlend_AppFuncRoot::BRepBlend_AppFuncRoot(Handle(BRepBlend_Line)& Line, // Standard_False is raised. //================================================================================ Standard_Boolean BRepBlend_AppFuncRoot::D0(const Standard_Real Param, - const Standard_Real First, - const Standard_Real Last,TColgp_Array1OfPnt& Poles, - TColgp_Array1OfPnt2d& Poles2d,TColStd_Array1OfReal& Weigths) + const Standard_Real /*First*/, + const Standard_Real /*Last*/, + TColgp_Array1OfPnt& Poles, + TColgp_Array1OfPnt2d& Poles2d, + TColStd_Array1OfReal& Weigths) { Standard_Boolean Ok=Standard_True; Blend_AppFunction* Func = (Blend_AppFunction*)myFunc; Ok = SearchPoint( *Func, Param, myPnt); if (Ok) (*Func).Section(myPnt, - Poles, - Poles2d, - Weigths); + Poles, + Poles2d, + Weigths); return Ok; } @@ -109,8 +111,8 @@ Standard_Boolean BRepBlend_AppFuncRoot::D0(const Standard_Real Param, // for v = Param, if the calculation fails Standard_False is raised. //================================================================================ Standard_Boolean BRepBlend_AppFuncRoot::D1(const Standard_Real Param, - const Standard_Real First, - const Standard_Real Last, + const Standard_Real /*First*/, + const Standard_Real /*Last*/, TColgp_Array1OfPnt& Poles, TColgp_Array1OfVec& DPoles, TColgp_Array1OfPnt2d& Poles2d, @@ -140,8 +142,8 @@ Standard_Boolean BRepBlend_AppFuncRoot::D1(const Standard_Real Param, // For v = Param, if the calculation fails Standard_False is raised. //=========================================================================== Standard_Boolean BRepBlend_AppFuncRoot::D2(const Standard_Real Param, - const Standard_Real First, - const Standard_Real Last, + const Standard_Real /*First*/, + const Standard_Real /*Last*/, TColgp_Array1OfPnt& Poles, TColgp_Array1OfVec& DPoles, TColgp_Array1OfVec& D2Poles, diff --git a/src/BRepBlend/BRepBlend_BlendTool.cxx b/src/BRepBlend/BRepBlend_BlendTool.cxx index 7a5b00369d..c166de83a1 100755 --- a/src/BRepBlend/BRepBlend_BlendTool.cxx +++ b/src/BRepBlend/BRepBlend_BlendTool.cxx @@ -114,17 +114,17 @@ Standard_Boolean BRepBlend_BlendTool::Inters(const gp_Pnt2d& P1, } Standard_Integer BRepBlend_BlendTool::NbSamplesV - (const Handle(Adaptor3d_HSurface)& S, - const Standard_Real u1, - const Standard_Real u2) + (const Handle(Adaptor3d_HSurface)&, + const Standard_Real, + const Standard_Real) { return 10; } Standard_Integer BRepBlend_BlendTool::NbSamplesU - (const Handle(Adaptor3d_HSurface)& S, - const Standard_Real u1, - const Standard_Real u2) + (const Handle(Adaptor3d_HSurface)&, + const Standard_Real, + const Standard_Real) { return 10; } diff --git a/src/BRepBlend/BRepBlend_SurfRstEvolRad.cxx b/src/BRepBlend/BRepBlend_SurfRstEvolRad.cxx index 2282c91852..714e771195 100755 --- a/src/BRepBlend/BRepBlend_SurfRstEvolRad.cxx +++ b/src/BRepBlend/BRepBlend_SurfRstEvolRad.cxx @@ -1075,17 +1075,16 @@ TColStd_Array1OfReal& DWeigths) //function : //purpose : //======================================================================= - Standard_Boolean BRepBlend_SurfRstEvolRad::Section -(const Blend_Point& P, -TColgp_Array1OfPnt& Poles, -TColgp_Array1OfVec& DPoles, -TColgp_Array1OfVec& D2Poles, -TColgp_Array1OfPnt2d& Poles2d, -TColgp_Array1OfVec2d& DPoles2d, -TColgp_Array1OfVec2d& D2Poles2d, -TColStd_Array1OfReal& Weigths, -TColStd_Array1OfReal& DWeigths, -TColStd_Array1OfReal& D2Weigths) + Standard_Boolean BRepBlend_SurfRstEvolRad::Section (const Blend_Point& /*P*/, + TColgp_Array1OfPnt& /*Poles*/, + TColgp_Array1OfVec& /*DPoles*/, + TColgp_Array1OfVec& /*D2Poles*/, + TColgp_Array1OfPnt2d& /*Poles2d*/, + TColgp_Array1OfVec2d& /*DPoles2d*/, + TColgp_Array1OfVec2d& /*D2Poles2d*/, + TColStd_Array1OfReal& /*Weigths*/, + TColStd_Array1OfReal& /*DWeigths*/, + TColStd_Array1OfReal& /*D2Weigths*/) { return Standard_False; } diff --git a/src/BRepBuilderAPI/BRepBuilderAPI_Copy.cxx b/src/BRepBuilderAPI/BRepBuilderAPI_Copy.cxx index 6574ce9ee3..9a03326424 100755 --- a/src/BRepBuilderAPI/BRepBuilderAPI_Copy.cxx +++ b/src/BRepBuilderAPI/BRepBuilderAPI_Copy.cxx @@ -81,9 +81,12 @@ public: //! Returns true to indicate the need to copy edge; //! copies pcurve if requested - Standard_Boolean NewCurve2d (const TopoDS_Edge& E, const TopoDS_Face& F, - const TopoDS_Edge& NewE, const TopoDS_Face& NewF, - Handle(Geom2d_Curve)& C, Standard_Real& Tol) + Standard_Boolean NewCurve2d (const TopoDS_Edge& E, + const TopoDS_Face& F, + const TopoDS_Edge& /*NewE*/, + const TopoDS_Face& /*NewF*/, + Handle(Geom2d_Curve)& C, + Standard_Real& Tol) { Tol = BRep_Tool::Tolerance(E); Standard_Real f, l; diff --git a/src/BRepBuilderAPI/BRepBuilderAPI_MakeShape.cxx b/src/BRepBuilderAPI/BRepBuilderAPI_MakeShape.cxx index 8821a6aed1..78af9a2230 100755 --- a/src/BRepBuilderAPI/BRepBuilderAPI_MakeShape.cxx +++ b/src/BRepBuilderAPI/BRepBuilderAPI_MakeShape.cxx @@ -82,7 +82,7 @@ BRepBuilderAPI_MakeShape::operator TopoDS_Shape() const //purpose : //======================================================================= -const TopTools_ListOfShape& BRepBuilderAPI_MakeShape::Generated (const TopoDS_Shape& S) +const TopTools_ListOfShape& BRepBuilderAPI_MakeShape::Generated (const TopoDS_Shape&) { myGenerated.Clear(); @@ -95,7 +95,7 @@ const TopTools_ListOfShape& BRepBuilderAPI_MakeShape::Generated (const TopoDS_Sh //purpose : //======================================================================= -const TopTools_ListOfShape& BRepBuilderAPI_MakeShape::Modified (const TopoDS_Shape& S) +const TopTools_ListOfShape& BRepBuilderAPI_MakeShape::Modified (const TopoDS_Shape&) { myGenerated.Clear(); @@ -108,7 +108,7 @@ const TopTools_ListOfShape& BRepBuilderAPI_MakeShape::Modified (const TopoDS_Sha //purpose : //======================================================================= -Standard_Boolean BRepBuilderAPI_MakeShape::IsDeleted (const TopoDS_Shape& S) +Standard_Boolean BRepBuilderAPI_MakeShape::IsDeleted (const TopoDS_Shape&) { return Standard_False; diff --git a/src/BRepBuilderAPI/BRepBuilderAPI_NurbsConvert.cxx b/src/BRepBuilderAPI/BRepBuilderAPI_NurbsConvert.cxx index fc1cffd3a8..5626cbc743 100755 --- a/src/BRepBuilderAPI/BRepBuilderAPI_NurbsConvert.cxx +++ b/src/BRepBuilderAPI/BRepBuilderAPI_NurbsConvert.cxx @@ -49,7 +49,7 @@ BRepBuilderAPI_NurbsConvert::BRepBuilderAPI_NurbsConvert () //======================================================================= BRepBuilderAPI_NurbsConvert::BRepBuilderAPI_NurbsConvert (const TopoDS_Shape& S, - const Standard_Boolean Copy) + const Standard_Boolean Copy) { myModification = new BRepTools_NurbsConvertModification(); @@ -62,7 +62,7 @@ BRepBuilderAPI_NurbsConvert::BRepBuilderAPI_NurbsConvert (const TopoDS_Shape& S, //======================================================================= void BRepBuilderAPI_NurbsConvert::Perform(const TopoDS_Shape& S, - const Standard_Boolean Copy) + const Standard_Boolean /*Copy*/) { Handle(BRepTools_NurbsConvertModification) theModif = Handle(BRepTools_NurbsConvertModification)::DownCast(myModification); diff --git a/src/BRepCheck/BRepCheck_Wire.cxx b/src/BRepCheck/BRepCheck_Wire.cxx index 1cb1d1e9ce..25610f02f4 100755 --- a/src/BRepCheck/BRepCheck_Wire.cxx +++ b/src/BRepCheck/BRepCheck_Wire.cxx @@ -375,7 +375,7 @@ BRepCheck_Status BRepCheck_Wire::Closed(const Standard_Boolean Update) //purpose : Return Standard_True if distance between thePnt_f and // thePnt_l is not more, than aTol3d //======================================================================= -Standard_Boolean IsDistanceIn3DTolerance (const BRepAdaptor_Surface& aFaceSurface, +Standard_Boolean IsDistanceIn3DTolerance (const BRepAdaptor_Surface& /*aFaceSurface*/, const gp_Pnt& thePnt_f, const gp_Pnt& thePnt_l, const Standard_Real aTol3d) diff --git a/src/BRepFill/BRepFill_CompatibleWires.cxx b/src/BRepFill/BRepFill_CompatibleWires.cxx index 5233647bff..d09856dfd9 100755 --- a/src/BRepFill/BRepFill_CompatibleWires.cxx +++ b/src/BRepFill/BRepFill_CompatibleWires.cxx @@ -1373,7 +1373,7 @@ void BRepFill_CompatibleWires::SameNumberByACR(const Standard_Boolean report) //purpose : //======================================================================= -void BRepFill_CompatibleWires::ComputeOrigin(const Standard_Boolean polar ) +void BRepFill_CompatibleWires::ComputeOrigin(const Standard_Boolean /*polar*/ ) { // reorganize the wires respecting orientation and origin diff --git a/src/BRepFill/BRepFill_Evolved.cxx b/src/BRepFill/BRepFill_Evolved.cxx index 9648272446..c77341dcc2 100755 --- a/src/BRepFill/BRepFill_Evolved.cxx +++ b/src/BRepFill/BRepFill_Evolved.cxx @@ -686,7 +686,7 @@ void BRepFill_Evolved::ElementaryPerform (const TopoDS_Face& Sp, const TopoDS_Wire& Pr, const BRepMAT2d_BisectingLocus& Locus, BRepMAT2d_LinkTopoBilo& Link, - const GeomAbs_JoinType Join) + const GeomAbs_JoinType /*Join*/) { #ifdef DRAW @@ -2427,7 +2427,7 @@ void BRepFill_Evolved::TransformInitWork(const TopLoc_Location& LS, //purpose : Coding of regularities on edges parallel to CutVevo // common to left and right parts of volevo. //======================================================================= -void BRepFill_Evolved::ContinuityOnOffsetEdge (const TopTools_ListOfShape& WorkProf) +void BRepFill_Evolved::ContinuityOnOffsetEdge (const TopTools_ListOfShape&) { BRepTools_WireExplorer WExp ; BRepFill_DataMapIteratorOfDataMapOfShapeDataMapOfShapeListOfShape iteS; diff --git a/src/BRepFill/BRepFill_Pipe.cxx b/src/BRepFill/BRepFill_Pipe.cxx index f0f1046dbe..2d4c25f5f5 100755 --- a/src/BRepFill/BRepFill_Pipe.cxx +++ b/src/BRepFill/BRepFill_Pipe.cxx @@ -115,7 +115,7 @@ BRepFill_Pipe::BRepFill_Pipe(const TopoDS_Wire& Spine, void BRepFill_Pipe::Perform(const TopoDS_Wire& Spine, const TopoDS_Shape& Profile, - const Standard_Boolean KPart) + const Standard_Boolean /*KPart*/) { mySections.Nullify(); diff --git a/src/BRepMesh/BRepMesh_Delaun.cxx b/src/BRepMesh/BRepMesh_Delaun.cxx index 6148b6c70e..4761f64039 100755 --- a/src/BRepMesh/BRepMesh_Delaun.cxx +++ b/src/BRepMesh/BRepMesh_Delaun.cxx @@ -1453,7 +1453,7 @@ void BRepMesh_Delaun::AddVertices( BRepMesh_Array1OfVertexOfDelaun& theVertices //function : UseEdge //purpose : Modify mesh to use the edge. Return True if done //======================================================================= -Standard_Boolean BRepMesh_Delaun::UseEdge( const Standard_Integer theIndex ) +Standard_Boolean BRepMesh_Delaun::UseEdge( const Standard_Integer /*theIndex*/ ) { /* const BRepMesh_PairOfIndex& aPair = myMeshData->ElemConnectedTo( theIndex ); diff --git a/src/BRepMesh/BRepMesh_VertexInspector.hxx b/src/BRepMesh/BRepMesh_VertexInspector.hxx index 1627da673c..effbd82bb4 100644 --- a/src/BRepMesh/BRepMesh_VertexInspector.hxx +++ b/src/BRepMesh/BRepMesh_VertexInspector.hxx @@ -107,7 +107,7 @@ public: } //! Set current node to be checked - void SetCurrent (const gp_XY& theCurVertex, const Standard_Boolean theExactVal = Standard_False) + void SetCurrent (const gp_XY& theCurVertex, const Standard_Boolean) { myResInd.Clear(); myCurrent = theCurVertex; diff --git a/src/BRepMesh/BRepMesh_VertexTool.cxx b/src/BRepMesh/BRepMesh_VertexTool.cxx index f488409a19..490d7dd4e5 100644 --- a/src/BRepMesh/BRepMesh_VertexTool.cxx +++ b/src/BRepMesh/BRepMesh_VertexTool.cxx @@ -169,7 +169,7 @@ const BRepMesh_ListOfInteger& BRepMesh_VertexTool::GetListOfDelNodes() const //======================================================================= Standard_Integer BRepMesh_VertexTool::FindIndex(const BRepMesh_Vertex& theVertex) { - mySelector.SetCurrent(theVertex.Coord(), Standard_False); + mySelector.SetCurrent(theVertex.Coord(),Standard_False); myCellFilter.Inspect (theVertex.Coord(), mySelector); return mySelector.GetCoincidentInd(); } diff --git a/src/BRepOffset/BRepOffset_Inter3d.cxx b/src/BRepOffset/BRepOffset_Inter3d.cxx index 70a3722e62..ea1bc30fba 100755 --- a/src/BRepOffset/BRepOffset_Inter3d.cxx +++ b/src/BRepOffset/BRepOffset_Inter3d.cxx @@ -68,7 +68,7 @@ myTol(Tol) //purpose : //======================================================================= -static void ExtentEdge(const TopoDS_Face& F, +static void ExtentEdge(const TopoDS_Face& /*F*/, const TopoDS_Edge& E, TopoDS_Edge& NE) { @@ -103,8 +103,8 @@ static void ExtentEdge(const TopoDS_Face& F, //purpose : //======================================================================= -static void SelectEdge (const TopoDS_Face& F, - const TopoDS_Face& EF, +static void SelectEdge (const TopoDS_Face& /*F*/, + const TopoDS_Face& /*EF*/, const TopoDS_Edge& E, TopTools_ListOfShape& LInt) { @@ -330,10 +330,10 @@ void BRepOffset_Inter3d::FaceInter(const TopoDS_Face& F1, //purpose : //======================================================================= -void BRepOffset_Inter3d::ConnexIntByArc(const TopTools_ListOfShape& SetOfFaces, - const TopoDS_Shape& ShapeInit, - const BRepOffset_Analyse& Analyse, - const BRepAlgo_Image& InitOffsetFace) +void BRepOffset_Inter3d::ConnexIntByArc(const TopTools_ListOfShape& /*SetOfFaces*/, + const TopoDS_Shape& ShapeInit, + const BRepOffset_Analyse& Analyse, + const BRepAlgo_Image& InitOffsetFace) { BRepOffset_Type OT = BRepOffset_Concave; if (mySide == TopAbs_OUT) OT = BRepOffset_Convex; @@ -877,7 +877,7 @@ void BRepOffset_Inter3d::ContextIntByArc(const TopTools_IndexedMapOfShape& Conte //purpose : //======================================================================= -void BRepOffset_Inter3d::AddCommonEdges(const TopTools_ListOfShape& SetOfFaces) +void BRepOffset_Inter3d::AddCommonEdges(const TopTools_ListOfShape&) { } diff --git a/src/BRepOffset/BRepOffset_MakeOffset.cxx b/src/BRepOffset/BRepOffset_MakeOffset.cxx index 0a5a42f27b..603ce4c754 100755 --- a/src/BRepOffset/BRepOffset_MakeOffset.cxx +++ b/src/BRepOffset/BRepOffset_MakeOffset.cxx @@ -1631,7 +1631,7 @@ void BRepOffset_MakeOffset::BuildOffsetByArc() //purpose : //======================================================================= -void BRepOffset_MakeOffset::SelfInter(TopTools_MapOfShape& Modif) +void BRepOffset_MakeOffset::SelfInter(TopTools_MapOfShape& /*Modif*/) { #ifdef DEB if ( ChronBuild) { @@ -2703,7 +2703,7 @@ void BRepOffset_MakeOffset::MakeLoops(TopTools_IndexedMapOfShape& Modif) // share edges that were reconstructed. //======================================================================= -void BRepOffset_MakeOffset::MakeFaces(TopTools_IndexedMapOfShape& Modif) +void BRepOffset_MakeOffset::MakeFaces(TopTools_IndexedMapOfShape& /*Modif*/) { #ifdef DEb if (ChronBuild) { diff --git a/src/BRepOffset/BRepOffset_Tool.cxx b/src/BRepOffset/BRepOffset_Tool.cxx index 0e8f248665..61f0c0920e 100755 --- a/src/BRepOffset/BRepOffset_Tool.cxx +++ b/src/BRepOffset/BRepOffset_Tool.cxx @@ -2524,8 +2524,8 @@ void BRepOffset_Tool::Inter2d (const TopoDS_Face& F, //purpose : //======================================================================= -static void SelectEdge (const TopoDS_Face& F, - const TopoDS_Face& EF, +static void SelectEdge (const TopoDS_Face& /*F*/, + const TopoDS_Face& /*EF*/, const TopoDS_Edge& E, TopTools_ListOfShape& LInt) { diff --git a/src/BRepTest/BRepTest_BasicCommands.cxx b/src/BRepTest/BRepTest_BasicCommands.cxx index e7feabb1c9..5fc30b7c3e 100755 --- a/src/BRepTest/BRepTest_BasicCommands.cxx +++ b/src/BRepTest/BRepTest_BasicCommands.cxx @@ -775,7 +775,7 @@ static Standard_Integer wexplo (Draw_Interpretor&, return 0; } -static Standard_Integer scalexyz(Draw_Interpretor& di, Standard_Integer n, const char** a) +static Standard_Integer scalexyz(Draw_Interpretor& /*di*/, Standard_Integer n, const char** a) { if (n < 6) return 1; diff --git a/src/BRepTest/BRepTest_SweepCommands.cxx b/src/BRepTest/BRepTest_SweepCommands.cxx index 0c42d08bcb..71a4abf538 100755 --- a/src/BRepTest/BRepTest_SweepCommands.cxx +++ b/src/BRepTest/BRepTest_SweepCommands.cxx @@ -808,7 +808,7 @@ static Standard_Integer simulsweep(Draw_Interpretor& di, //======================================================================= // middlepath //======================================================================= -static Standard_Integer middlepath(Draw_Interpretor& di, +static Standard_Integer middlepath(Draw_Interpretor& /*di*/, Standard_Integer n, const char** a) { if (n < 5) return 1; diff --git a/src/BRepTools/BRepTools_NurbsConvertModification.cxx b/src/BRepTools/BRepTools_NurbsConvertModification.cxx index 16d876c77a..086a1be1f7 100755 --- a/src/BRepTools/BRepTools_NurbsConvertModification.cxx +++ b/src/BRepTools/BRepTools_NurbsConvertModification.cxx @@ -69,25 +69,25 @@ #include static void GeomLib_ChangeUBounds(Handle(Geom_BSplineSurface)& aSurface, - const Standard_Real newU1, - const Standard_Real newU2) + const Standard_Real newU1, + const Standard_Real newU2) { TColStd_Array1OfReal knots(1,aSurface->NbUKnots()) ; aSurface->UKnots(knots) ; BSplCLib::Reparametrize(newU1, - newU2, - knots) ; + newU2, + knots) ; aSurface->SetUKnots(knots) ; } static void GeomLib_ChangeVBounds(Handle(Geom_BSplineSurface)& aSurface, - const Standard_Real newV1, - const Standard_Real newV2) + const Standard_Real newV1, + const Standard_Real newV2) { TColStd_Array1OfReal knots(1,aSurface->NbVKnots()) ; aSurface->VKnots(knots) ; BSplCLib::Reparametrize(newV1, - newV2, - knots) ; + newV2, + knots) ; aSurface->SetVKnots(knots) ; } @@ -174,14 +174,14 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewSurface if(Abs(dU - Up) <= TolPar && U2 <= Up) { if(Abs(dV - Vp) <= TolPar && V2 <= Vp) { } else { - SS = new Geom_RectangularTrimmedSurface(S, V1+1e-9, V2-1e-9, Standard_False); + SS = new Geom_RectangularTrimmedSurface(S, V1+1e-9, V2-1e-9, Standard_False); } } else { if(Abs(dV - Vp) <= TolPar && V2 <= Vp) - SS = new Geom_RectangularTrimmedSurface(S, U1+1e-9, U2-1e-9, Standard_True); + SS = new Geom_RectangularTrimmedSurface(S, U1+1e-9, U2-1e-9, Standard_True); else - SS = new Geom_RectangularTrimmedSurface(S, U1+1e-9, U2-1e-9, V1+1e-9, V2-1e-9); + SS = new Geom_RectangularTrimmedSurface(S, U1+1e-9, U2-1e-9, V1+1e-9, V2-1e-9); } } @@ -193,7 +193,7 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewSurface else SS = new Geom_RectangularTrimmedSurface(S, U1+1e-9, U2-1e-9, V1+1e-9, V2-1e-9); } - + if(!IsUp && IsVp) { Standard_Real dV = Abs(V2 - V1); Standard_Real Vp = S->VPeriod(); @@ -336,13 +336,8 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewCurve //======================================================================= Standard_Boolean BRepTools_NurbsConvertModification::NewPoint -//(const TopoDS_Vertex& V, -(const TopoDS_Vertex& , -// gp_Pnt& P, - gp_Pnt& , -// Standard_Real& Tol) - Standard_Real& ) -{ + (const TopoDS_Vertex&, gp_Pnt&, Standard_Real& ) +{ return Standard_False; } @@ -353,12 +348,12 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewPoint //======================================================================= Standard_Boolean BRepTools_NurbsConvertModification::NewCurve2d -(const TopoDS_Edge& E, - const TopoDS_Face& F, - const TopoDS_Edge& newE, - const TopoDS_Face& newF, - Handle(Geom2d_Curve)& Curve2d, - Standard_Real& Tol) + (const TopoDS_Edge& E, + const TopoDS_Face& F, + const TopoDS_Edge& newE, + const TopoDS_Face& newF, + Handle(Geom2d_Curve)& Curve2d, + Standard_Real& Tol) { Tol = BRep_Tool::Tolerance(E); @@ -425,11 +420,10 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewCurve2d return Standard_True; } return Standard_False; - } - } - else { + } + } + else { S = BRep_Tool::Surface(newF); - } S->Bounds(Uinf, Usup, Vinf, Vsup); //Uinf -= 1e-9; Usup += 1e-9; Vinf -= 1e-9; Vsup += 1e-9; @@ -478,7 +472,6 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewCurve2d if(ProjOnCurve.IsDone()) { Curve2d = ProjOnCurve.BSpline(); - return Standard_True; } else { @@ -491,9 +484,8 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewCurve2d TColStd_ListIteratorOfListOfTransient itlcu; for (itled.Initialize(myled), itlcu.Initialize(mylcu); - itled.More(); // itlcu.More() - itled.Next(),itlcu.Next()) - { + itled.More(); // itlcu.More() + itled.Next(),itlcu.Next()) { if (itled.Value().IsSame(E)) { // deja traitee break; @@ -507,8 +499,7 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewCurve2d Handle(Geom2dAdaptor_HCurve) G2dAHC = new Geom2dAdaptor_HCurve(G2dAC); TopoDS_Edge ERevers = E; ERevers.Reverse(); -// TopoDS_Edge ERevers = TopoDS::Edge(E.Reversed()); - C2dBis = BRep_Tool::CurveOnSurface(ERevers,F,f2dBis,l2dBis); + C2dBis = BRep_Tool::CurveOnSurface(ERevers,F,f2dBis,l2dBis); Handle(Standard_Type) TheTypeC2dBis = C2dBis->DynamicType(); C2dBis = new Geom2d_TrimmedCurve(C2dBis,f2dBis, l2dBis); Geom2dAdaptor_Curve G2dACBis(C2dBis, f2dBis, l2dBis); @@ -521,7 +512,6 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewCurve2d Curve2d = Handle(Geom2d_Curve)::DownCast(C2d->Copy()); return Standard_True; } - return Standard_False; } if(!newE.IsNull()) { @@ -590,13 +580,15 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewCurve2d C2d = Handle(Geom2d_Curve)::DownCast(itlcu.Value()); Handle(Standard_Type) st = C2d->DynamicType(); if (!(st == STANDARD_TYPE(Geom2d_BSplineCurve)) && - !(st == STANDARD_TYPE(Geom2d_BezierCurve))) { + !(st == STANDARD_TYPE(Geom2d_BezierCurve))) { return Standard_False; } Curve2d = Geom2dConvert::CurveToBSplineCurve(C2d); return Standard_True; } } + Curve2d = C2d; + return Standard_True; } //======================================================================= @@ -631,7 +623,6 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewParameter if(proj.IsDone()) { Standard_Real Dist2Min = proj.SquareDistance(); if (Dist2Min < Tol*Tol) { - // Standard_Real U_final_point,V_final_point; P = proj.Point().Parameter(); return Standard_True; } diff --git a/src/BRepTopAdaptor/BRepTopAdaptor_Tool.cxx b/src/BRepTopAdaptor/BRepTopAdaptor_Tool.cxx index 710b3a0428..7c1a5171bc 100755 --- a/src/BRepTopAdaptor/BRepTopAdaptor_Tool.cxx +++ b/src/BRepTopAdaptor/BRepTopAdaptor_Tool.cxx @@ -34,7 +34,7 @@ BRepTopAdaptor_Tool::BRepTopAdaptor_Tool() { } BRepTopAdaptor_Tool::BRepTopAdaptor_Tool(const TopoDS_Face& F, - const Standard_Real Tol2d) { + const Standard_Real /*Tol2d*/) { myTopolTool = new BRepTopAdaptor_TopolTool(); Handle(BRepAdaptor_HSurface) surface = new BRepAdaptor_HSurface(); @@ -45,16 +45,17 @@ BRepTopAdaptor_Tool::BRepTopAdaptor_Tool(const TopoDS_Face& F, } BRepTopAdaptor_Tool::BRepTopAdaptor_Tool(const Handle(Adaptor3d_HSurface)& surface, - const Standard_Real Tol2d) { + const Standard_Real /*Tol2d*/) +{ myTopolTool = new BRepTopAdaptor_TopolTool(); - myTopolTool->Initialize(surface); myHSurface = surface; myloaded=Standard_True; } void BRepTopAdaptor_Tool::Init(const TopoDS_Face& F, - const Standard_Real Tol2d) { + const Standard_Real /*Tol2d*/) +{ Handle(BRepAdaptor_HSurface) surface = new BRepAdaptor_HSurface(); surface->ChangeSurface().Initialize(F); myTopolTool->Initialize(surface); @@ -63,7 +64,8 @@ void BRepTopAdaptor_Tool::Init(const TopoDS_Face& F, } void BRepTopAdaptor_Tool::Init(const Handle(Adaptor3d_HSurface)& surface, - const Standard_Real Tol2d) { + const Standard_Real /*Tol2d*/) +{ myTopolTool->Initialize(surface); myHSurface = surface; myloaded=Standard_True; diff --git a/src/BiTgte/BiTgte_Blend.cxx b/src/BiTgte/BiTgte_Blend.cxx index 860527d30d..682bd248c9 100755 --- a/src/BiTgte/BiTgte_Blend.cxx +++ b/src/BiTgte/BiTgte_Blend.cxx @@ -479,10 +479,10 @@ Handle(Geom_Curve) MakeCurve (const BiTgte_CurveOnEdge& HC) //purpose : Only the faces connected with caps are given //======================================================================= -static void Touched(const BRepOffset_Analyse& Analyse, - const TopTools_MapOfShape& StopFaces, - const TopoDS_Shape& Shape, - TopTools_MapOfShape& TouchedByCork) +static void Touched(const BRepOffset_Analyse&, + const TopTools_MapOfShape&, + const TopoDS_Shape&, + TopTools_MapOfShape&) { // currently nothing is done !! /*if ( Standard_True) { @@ -493,9 +493,9 @@ static void Touched(const BRepOffset_Analyse& Analyse, for ( ; exp.More(); exp.Next()) { const TopTools_ListOfShape& L = Analyse.Ancestors(exp.Current()); if (StopFaces.Contains(L.First())) - TouchedByCork.Add(L.Last()); + TouchedByCork.Add(L.Last()); else if (StopFaces.Contains(L.Last())) - TouchedByCork.Add(L.First()); + TouchedByCork.Add(L.First()); } }*/ return; diff --git a/src/BiTgte/BiTgte_CurveOnEdge.cxx b/src/BiTgte/BiTgte_CurveOnEdge.cxx index a41440a99e..05d8fc3296 100755 --- a/src/BiTgte/BiTgte_CurveOnEdge.cxx +++ b/src/BiTgte/BiTgte_CurveOnEdge.cxx @@ -127,7 +127,7 @@ GeomAbs_Shape BiTgte_CurveOnEdge::Continuity() const //purpose : //======================================================================= -Standard_Integer BiTgte_CurveOnEdge::NbIntervals(const GeomAbs_Shape S) const +Standard_Integer BiTgte_CurveOnEdge::NbIntervals(const GeomAbs_Shape) const { Standard_NotImplemented::Raise("BiTgte_CurveOnEdge"); return 0; @@ -139,8 +139,8 @@ Standard_Integer BiTgte_CurveOnEdge::NbIntervals(const GeomAbs_Shape S) const //purpose : //======================================================================= -void BiTgte_CurveOnEdge::Intervals(TColStd_Array1OfReal& T, - const GeomAbs_Shape S) const +void BiTgte_CurveOnEdge::Intervals(TColStd_Array1OfReal&, + const GeomAbs_Shape) const { Standard_NotImplemented::Raise("BiTgte_CurveOnEdge"); } @@ -151,9 +151,9 @@ void BiTgte_CurveOnEdge::Intervals(TColStd_Array1OfReal& T, //purpose : //======================================================================= -Handle(Adaptor3d_HCurve) BiTgte_CurveOnEdge::Trim(const Standard_Real First, - const Standard_Real Last, - const Standard_Real Tol) const +Handle(Adaptor3d_HCurve) BiTgte_CurveOnEdge::Trim(const Standard_Real, + const Standard_Real, + const Standard_Real) const { Standard_NotImplemented::Raise("BiTgte_CurveOnEdge"); Handle(BiTgte_HCurveOnEdge) HC; @@ -229,7 +229,7 @@ void BiTgte_CurveOnEdge::D0(const Standard_Real U,gp_Pnt& P) const //purpose : //======================================================================= -void BiTgte_CurveOnEdge::D1(const Standard_Real U,gp_Pnt& P,gp_Vec& V) const +void BiTgte_CurveOnEdge::D1(const Standard_Real,gp_Pnt& ,gp_Vec& ) const { Standard_NotImplemented::Raise("BiTgte_CurveOnEdge"); } @@ -240,8 +240,8 @@ void BiTgte_CurveOnEdge::D1(const Standard_Real U,gp_Pnt& P,gp_Vec& V) const //purpose : //======================================================================= -void BiTgte_CurveOnEdge::D2(const Standard_Real U,gp_Pnt& P, - gp_Vec& V1,gp_Vec& V2) const +void BiTgte_CurveOnEdge::D2(const Standard_Real ,gp_Pnt&, + gp_Vec& ,gp_Vec&) const { Standard_NotImplemented::Raise("BiTgte_CurveOnEdge"); } @@ -252,8 +252,8 @@ void BiTgte_CurveOnEdge::D2(const Standard_Real U,gp_Pnt& P, //purpose : //======================================================================= -void BiTgte_CurveOnEdge::D3(const Standard_Real U,gp_Pnt& P, - gp_Vec& V1,gp_Vec& V2,gp_Vec& V3) const +void BiTgte_CurveOnEdge::D3(const Standard_Real ,gp_Pnt&, + gp_Vec& ,gp_Vec& ,gp_Vec& ) const { Standard_NotImplemented::Raise("BiTgte_CurveOnEdge"); } @@ -264,8 +264,8 @@ void BiTgte_CurveOnEdge::D3(const Standard_Real U,gp_Pnt& P, //purpose : //======================================================================= -gp_Vec BiTgte_CurveOnEdge::DN(const Standard_Real U, - const Standard_Integer N) const +gp_Vec BiTgte_CurveOnEdge::DN(const Standard_Real, + const Standard_Integer) const { Standard_NotImplemented::Raise("BiTgte_CurveOnEdge"); return gp_Vec(); @@ -277,7 +277,7 @@ gp_Vec BiTgte_CurveOnEdge::DN(const Standard_Real U, //purpose : //======================================================================= -Standard_Real BiTgte_CurveOnEdge::Resolution(const Standard_Real R3d) const +Standard_Real BiTgte_CurveOnEdge::Resolution(const Standard_Real) const { Standard_NotImplemented::Raise("BiTgte_CurveOnEdge"); return 0.; diff --git a/src/BiTgte/BiTgte_CurveOnVertex.cxx b/src/BiTgte/BiTgte_CurveOnVertex.cxx index a9a31bc8ea..98e0013dd3 100755 --- a/src/BiTgte/BiTgte_CurveOnVertex.cxx +++ b/src/BiTgte/BiTgte_CurveOnVertex.cxx @@ -101,7 +101,7 @@ GeomAbs_Shape BiTgte_CurveOnVertex::Continuity() const //purpose : //======================================================================= -Standard_Integer BiTgte_CurveOnVertex::NbIntervals(const GeomAbs_Shape S) const +Standard_Integer BiTgte_CurveOnVertex::NbIntervals(const GeomAbs_Shape) const { Standard_NotImplemented::Raise("BiTgte_CurveOnVertex"); return 0; @@ -113,8 +113,8 @@ Standard_Integer BiTgte_CurveOnVertex::NbIntervals(const GeomAbs_Shape S) const //purpose : //======================================================================= -void BiTgte_CurveOnVertex::Intervals(TColStd_Array1OfReal& T, - const GeomAbs_Shape S) const +void BiTgte_CurveOnVertex::Intervals(TColStd_Array1OfReal&, + const GeomAbs_Shape) const { Standard_NotImplemented::Raise("BiTgte_CurveOnVertex"); } @@ -125,9 +125,9 @@ void BiTgte_CurveOnVertex::Intervals(TColStd_Array1OfReal& T, //purpose : //======================================================================= -Handle(Adaptor3d_HCurve) BiTgte_CurveOnVertex::Trim(const Standard_Real First, - const Standard_Real Last, - const Standard_Real Tol) +Handle(Adaptor3d_HCurve) BiTgte_CurveOnVertex::Trim(const Standard_Real, + const Standard_Real, + const Standard_Real) const { Standard_NotImplemented::Raise("BiTgte_CurveOnVertex"); @@ -177,7 +177,7 @@ Standard_Real BiTgte_CurveOnVertex::Period() const //purpose : //======================================================================= -gp_Pnt BiTgte_CurveOnVertex::Value(const Standard_Real U) const +gp_Pnt BiTgte_CurveOnVertex::Value(const Standard_Real) const { return myPnt; } @@ -188,7 +188,7 @@ gp_Pnt BiTgte_CurveOnVertex::Value(const Standard_Real U) const //purpose : //======================================================================= -void BiTgte_CurveOnVertex::D0(const Standard_Real U,gp_Pnt& P) const +void BiTgte_CurveOnVertex::D0(const Standard_Real /*U*/,gp_Pnt& P) const { P = myPnt; } @@ -199,7 +199,7 @@ void BiTgte_CurveOnVertex::D0(const Standard_Real U,gp_Pnt& P) const //purpose : //======================================================================= -void BiTgte_CurveOnVertex::D1(const Standard_Real U,gp_Pnt& P,gp_Vec& V) const +void BiTgte_CurveOnVertex::D1(const Standard_Real ,gp_Pnt& ,gp_Vec&) const { Standard_NotImplemented::Raise("BiTgte_CurveOnVertex"); } @@ -210,8 +210,8 @@ void BiTgte_CurveOnVertex::D1(const Standard_Real U,gp_Pnt& P,gp_Vec& V) const //purpose : //======================================================================= -void BiTgte_CurveOnVertex::D2(const Standard_Real U,gp_Pnt& P, - gp_Vec& V1,gp_Vec& V2) const +void BiTgte_CurveOnVertex::D2(const Standard_Real,gp_Pnt&, + gp_Vec& ,gp_Vec& ) const { Standard_NotImplemented::Raise("BiTgte_CurveOnVertex"); } @@ -222,8 +222,11 @@ void BiTgte_CurveOnVertex::D2(const Standard_Real U,gp_Pnt& P, //purpose : //======================================================================= -void BiTgte_CurveOnVertex::D3(const Standard_Real U,gp_Pnt& P, - gp_Vec& V1,gp_Vec& V2,gp_Vec& V3) const +void BiTgte_CurveOnVertex::D3(const Standard_Real, + gp_Pnt& , + gp_Vec& , + gp_Vec& , + gp_Vec& ) const { Standard_NotImplemented::Raise("BiTgte_CurveOnVertex"); } @@ -234,8 +237,8 @@ void BiTgte_CurveOnVertex::D3(const Standard_Real U,gp_Pnt& P, //purpose : //======================================================================= -gp_Vec BiTgte_CurveOnVertex::DN(const Standard_Real U, - const Standard_Integer N) const +gp_Vec BiTgte_CurveOnVertex::DN(const Standard_Real, + const Standard_Integer) const { Standard_NotImplemented::Raise("BiTgte_CurveOnVertex"); return gp_Vec(); @@ -247,7 +250,7 @@ gp_Vec BiTgte_CurveOnVertex::DN(const Standard_Real U, //purpose : //======================================================================= -Standard_Real BiTgte_CurveOnVertex::Resolution(const Standard_Real R3d) const +Standard_Real BiTgte_CurveOnVertex::Resolution(const Standard_Real) const { Standard_NotImplemented::Raise("BiTgte_CurveOnVertex"); return 0.; diff --git a/src/Blend/Blend_CSFunction.cxx b/src/Blend/Blend_CSFunction.cxx index 5e3b28ef90..05a2444e3a 100755 --- a/src/Blend/Blend_CSFunction.cxx +++ b/src/Blend/Blend_CSFunction.cxx @@ -34,16 +34,16 @@ const gp_Pnt& Blend_CSFunction::Pnt2() const return PointOnS(); } -Standard_Boolean Blend_CSFunction::Section(const Blend_Point& P, - TColgp_Array1OfPnt& Poles, - TColgp_Array1OfVec& DPoles, - TColgp_Array1OfVec& D2Poles, - TColgp_Array1OfPnt2d& Poles2d, - TColgp_Array1OfVec2d& DPoles2d, - TColgp_Array1OfVec2d& D2Poles2d, - TColStd_Array1OfReal& Weigths, - TColStd_Array1OfReal& DWeigths, - TColStd_Array1OfReal& D2Weigths) +Standard_Boolean Blend_CSFunction::Section (const Blend_Point& /*P*/, + TColgp_Array1OfPnt& /*Poles*/, + TColgp_Array1OfVec& /*DPoles*/, + TColgp_Array1OfVec& /*D2Poles*/, + TColgp_Array1OfPnt2d& /*Poles2d*/, + TColgp_Array1OfVec2d& /*DPoles2d*/, + TColgp_Array1OfVec2d& /*D2Poles2d*/, + TColStd_Array1OfReal& /*Weigths*/, + TColStd_Array1OfReal& /*DWeigths*/, + TColStd_Array1OfReal& /*D2Weigths*/) { return Standard_False; } diff --git a/src/Blend/Blend_Function.cxx b/src/Blend/Blend_Function.cxx index c30cd73725..000b51063b 100755 --- a/src/Blend/Blend_Function.cxx +++ b/src/Blend/Blend_Function.cxx @@ -43,16 +43,16 @@ Standard_Boolean Blend_Function::TwistOnS2() const return Standard_False; } -Standard_Boolean Blend_Function::Section(const Blend_Point& P, - TColgp_Array1OfPnt& Poles, - TColgp_Array1OfVec& DPoles, - TColgp_Array1OfVec& D2Poles, - TColgp_Array1OfPnt2d& Poles2d, - TColgp_Array1OfVec2d& DPoles2d, - TColgp_Array1OfVec2d& D2Poles2d, - TColStd_Array1OfReal& Weigths, - TColStd_Array1OfReal& DWeigths, - TColStd_Array1OfReal& D2Weigths) +Standard_Boolean Blend_Function::Section (const Blend_Point& /*P*/, + TColgp_Array1OfPnt& /*Poles*/, + TColgp_Array1OfVec& /*DPoles*/, + TColgp_Array1OfVec& /*D2Poles*/, + TColgp_Array1OfPnt2d& /*Poles2d*/, + TColgp_Array1OfVec2d& /*DPoles2d*/, + TColgp_Array1OfVec2d& /*D2Poles2d*/, + TColStd_Array1OfReal& /*Weigths*/, + TColStd_Array1OfReal& /*DWeigths*/, + TColStd_Array1OfReal& /*D2Weigths*/) { return Standard_False; } diff --git a/src/BlendFunc/BlendFunc_CSCircular.cxx b/src/BlendFunc/BlendFunc_CSCircular.cxx index adf3611cd7..2679676646 100755 --- a/src/BlendFunc/BlendFunc_CSCircular.cxx +++ b/src/BlendFunc/BlendFunc_CSCircular.cxx @@ -129,7 +129,7 @@ void BlendFunc_CSCircular::Set(const Standard_Real Param) //purpose : //======================================================================= -void BlendFunc_CSCircular::Set(const Standard_Real First, const Standard_Real Last) +void BlendFunc_CSCircular::Set(const Standard_Real, const Standard_Real) { Standard_NotImplemented::Raise("BlendFunc_CSCircular::Set"); } @@ -596,7 +596,7 @@ Standard_Boolean BlendFunc_CSCircular::Section(const Blend_Point& P, Standard_Boolean BlendFunc_CSCircular::GetSection(const Standard_Real Param, const Standard_Real U, const Standard_Real V, - const Standard_Real W, + const Standard_Real /*W*/, TColgp_Array1OfPnt& tabP, TColgp_Array1OfVec& tabV) { diff --git a/src/BlendFunc/BlendFunc_CSConstRad.cxx b/src/BlendFunc/BlendFunc_CSConstRad.cxx index 4933fc8f26..488d57a5af 100755 --- a/src/BlendFunc/BlendFunc_CSConstRad.cxx +++ b/src/BlendFunc/BlendFunc_CSConstRad.cxx @@ -102,7 +102,7 @@ void BlendFunc_CSConstRad::Set(const Standard_Real Param) //purpose : //======================================================================= -void BlendFunc_CSConstRad::Set(const Standard_Real First, const Standard_Real Last) +void BlendFunc_CSConstRad::Set(const Standard_Real, const Standard_Real) { Standard_NotImplemented::Raise("BlendFunc_CSConstRad::Set"); } diff --git a/src/BlendFunc/BlendFunc_ChAsym.cxx b/src/BlendFunc/BlendFunc_ChAsym.cxx index 8b88272388..5a4e00c43f 100755 --- a/src/BlendFunc/BlendFunc_ChAsym.cxx +++ b/src/BlendFunc/BlendFunc_ChAsym.cxx @@ -518,7 +518,7 @@ void BlendFunc_ChAsym::Tangent(const Standard_Real U1, //purpose : //======================================================================= -void BlendFunc_ChAsym::Section(const Standard_Real Param, +void BlendFunc_ChAsym::Section(const Standard_Real /*Param*/, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, @@ -610,10 +610,10 @@ void BlendFunc_ChAsym::GetShape (Standard_Integer& NbPoles, //purpose : Determine les Tolerances a utiliser dans les approximations. //======================================================================= void BlendFunc_ChAsym::GetTolerance(const Standard_Real BoundTol, - const Standard_Real SurfTol, - const Standard_Real AngleTol, + const Standard_Real, + const Standard_Real, math_Vector& Tol3d, - math_Vector& Tol1d) const + math_Vector&) const { Tol3d.Init(BoundTol); } @@ -799,16 +799,16 @@ Standard_Boolean BlendFunc_ChAsym::Section //======================================================================= Standard_Boolean BlendFunc_ChAsym::Section - (const Blend_Point& P, - TColgp_Array1OfPnt& Poles, - TColgp_Array1OfVec& DPoles, - TColgp_Array1OfVec& D2Poles, - TColgp_Array1OfPnt2d& Poles2d, - TColgp_Array1OfVec2d& DPoles2d, - TColgp_Array1OfVec2d& D2Poles2d, - TColStd_Array1OfReal& Weights, - TColStd_Array1OfReal& DWeights, - TColStd_Array1OfReal& D2Weights) + (const Blend_Point& /*P*/, + TColgp_Array1OfPnt& /*Poles*/, + TColgp_Array1OfVec& /*DPoles*/, + TColgp_Array1OfVec& /*D2Poles*/, + TColgp_Array1OfPnt2d& /*Poles2d*/, + TColgp_Array1OfVec2d& /*DPoles2d*/, + TColgp_Array1OfVec2d& /*D2Poles2d*/, + TColStd_Array1OfReal& /*Weights*/, + TColStd_Array1OfReal& /*DWeights*/, + TColStd_Array1OfReal& /*D2Weights*/) { return Standard_False; } diff --git a/src/BlendFunc/BlendFunc_Chamfer.cxx b/src/BlendFunc/BlendFunc_Chamfer.cxx index de69b55a27..cf828c877d 100755 --- a/src/BlendFunc/BlendFunc_Chamfer.cxx +++ b/src/BlendFunc/BlendFunc_Chamfer.cxx @@ -87,10 +87,8 @@ void BlendFunc_Chamfer::Set(const Standard_Real Param) //purpose : //======================================================================= -void BlendFunc_Chamfer::Set(const Standard_Real First, const Standard_Real Last) +void BlendFunc_Chamfer::Set(const Standard_Real, const Standard_Real) { -// corde1.SetParam(First, Last); -// corde2.SetParam(First, Last); } //======================================================================= @@ -352,7 +350,7 @@ void BlendFunc_Chamfer::Tangent(const Standard_Real U1, //purpose : //======================================================================= -void BlendFunc_Chamfer::Section(const Standard_Real Param, +void BlendFunc_Chamfer::Section(const Standard_Real /*Param*/, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, @@ -444,10 +442,10 @@ void BlendFunc_Chamfer::GetShape (Standard_Integer& NbPoles, //purpose : Determine les Tolerance a utiliser dans les approximations. //======================================================================= void BlendFunc_Chamfer::GetTolerance(const Standard_Real BoundTol, - const Standard_Real SurfTol, - const Standard_Real AngleTol, + const Standard_Real, + const Standard_Real, math_Vector& Tol3d, - math_Vector& Tol1D) const + math_Vector&) const { Tol3d.Init(BoundTol); } @@ -481,16 +479,16 @@ void BlendFunc_Chamfer::Mults(TColStd_Array1OfInteger& TMults) //======================================================================= Standard_Boolean BlendFunc_Chamfer::Section - (const Blend_Point& P, - TColgp_Array1OfPnt& Poles, - TColgp_Array1OfVec& DPoles, - TColgp_Array1OfVec& D2Poles, - TColgp_Array1OfPnt2d& Poles2d, - TColgp_Array1OfVec2d& DPoles2d, - TColgp_Array1OfVec2d& D2Poles2d, - TColStd_Array1OfReal& Weights, - TColStd_Array1OfReal& DWeights, - TColStd_Array1OfReal& D2Weights) + (const Blend_Point& /*P*/, + TColgp_Array1OfPnt& /*Poles*/, + TColgp_Array1OfVec& /*DPoles*/, + TColgp_Array1OfVec& /*D2Poles*/, + TColgp_Array1OfPnt2d& /*Poles2d*/, + TColgp_Array1OfVec2d& /*DPoles2d*/, + TColgp_Array1OfVec2d& /*D2Poles2d*/, + TColStd_Array1OfReal& /*Weights*/, + TColStd_Array1OfReal& /*DWeights*/, + TColStd_Array1OfReal& /*D2Weights*/) { return Standard_False; } diff --git a/src/BlendFunc/BlendFunc_Ruled.cxx b/src/BlendFunc/BlendFunc_Ruled.cxx index a087dae45e..3a7bb0d324 100755 --- a/src/BlendFunc/BlendFunc_Ruled.cxx +++ b/src/BlendFunc/BlendFunc_Ruled.cxx @@ -53,8 +53,8 @@ void BlendFunc_Ruled::Set(const Standard_Real Param) istangent = Standard_True; } -void BlendFunc_Ruled::Set(const Standard_Real First, - const Standard_Real Last) +void BlendFunc_Ruled::Set(const Standard_Real, + const Standard_Real) { Standard_NotImplemented::Raise("BlendFunc_Ruled::Set"); } @@ -601,10 +601,10 @@ void BlendFunc_Ruled::GetShape(Standard_Integer& NbPoles, //purpose : Determine les Tolerance a utiliser dans les approximations. //======================================================================= void BlendFunc_Ruled::GetTolerance(const Standard_Real BoundTol, - const Standard_Real SurfTol, - const Standard_Real AngleTol, + const Standard_Real, + const Standard_Real, math_Vector& Tol3d, - math_Vector& Tol1D) const + math_Vector&) const { Tol3d.Init(BoundTol); } @@ -620,16 +620,16 @@ void BlendFunc_Ruled::Mults(TColStd_Array1OfInteger& TMults) TMults(TMults.Lower()) = TMults(TMults.Upper()) = 2; } -Standard_Boolean BlendFunc_Ruled::Section(const Blend_Point& P, - TColgp_Array1OfPnt& Poles, - TColgp_Array1OfVec& DPoles, - TColgp_Array1OfVec& D2Poles, - TColgp_Array1OfPnt2d& Poles2d, - TColgp_Array1OfVec2d& DPoles2d, - TColgp_Array1OfVec2d& D2Poles2d, - TColStd_Array1OfReal& Weights, - TColStd_Array1OfReal& DWeights, - TColStd_Array1OfReal& D2Weights) +Standard_Boolean BlendFunc_Ruled::Section(const Blend_Point& /*P*/, + TColgp_Array1OfPnt& /*Poles*/, + TColgp_Array1OfVec& /*DPoles*/, + TColgp_Array1OfVec& /*D2Poles*/, + TColgp_Array1OfPnt2d& /*Poles2d*/, + TColgp_Array1OfVec2d& /*DPoles2d*/, + TColgp_Array1OfVec2d& /*D2Poles2d*/, + TColStd_Array1OfReal& /*Weights*/, + TColStd_Array1OfReal& /*DWeights*/, + TColStd_Array1OfReal& /*D2Weights*/) { return Standard_False; } diff --git a/src/CDM/CDM_NullMessageDriver.cxx b/src/CDM/CDM_NullMessageDriver.cxx index eaa7f50fd4..adf026329e 100755 --- a/src/CDM/CDM_NullMessageDriver.cxx +++ b/src/CDM/CDM_NullMessageDriver.cxx @@ -24,5 +24,5 @@ #include CDM_NullMessageDriver::CDM_NullMessageDriver() {} -void CDM_NullMessageDriver::Write(const Standard_ExtString aString) { +void CDM_NullMessageDriver::Write(const Standard_ExtString /*aString*/) { } diff --git a/src/ChFi2d/ChFi2d_Builder_0.cxx b/src/ChFi2d/ChFi2d_Builder_0.cxx index 38a76d9133..1332563a47 100755 --- a/src/ChFi2d/ChFi2d_Builder_0.cxx +++ b/src/ChFi2d/ChFi2d_Builder_0.cxx @@ -261,7 +261,7 @@ void ChFi2d_Builder::ComputeChamfer(const TopoDS_Vertex& V, //======================================================================= TopoDS_Edge ChFi2d_Builder::ModifyChamfer(const TopoDS_Edge& Chamfer, - const TopoDS_Edge& E1, + const TopoDS_Edge& /*E1*/, const TopoDS_Edge& E2, const Standard_Real D1, const Standard_Real D2) diff --git a/src/ChFiDS/ChFiDS_FilSpine.cxx b/src/ChFiDS/ChFiDS_FilSpine.cxx index 25d35de664..71dad8256e 100755 --- a/src/ChFiDS/ChFiDS_FilSpine.cxx +++ b/src/ChFiDS/ChFiDS_FilSpine.cxx @@ -224,7 +224,7 @@ void ChFiDS_FilSpine::UnSetRadius(const TopoDS_Vertex& V) //======================================================================= void ChFiDS_FilSpine::SetRadius(const Handle(Law_Function)& C, - const Standard_Integer IinC) + const Standard_Integer /*IinC*/) { splitdone = Standard_False; Handle(Law_Composite) prout = new Law_Composite(); diff --git a/src/ChFiKPart/ChFiKPart_ComputeData_CS.cxx b/src/ChFiKPart/ChFiKPart_ComputeData_CS.cxx index bac3d980c1..5996d00d2c 100755 --- a/src/ChFiKPart/ChFiKPart_ComputeData_CS.cxx +++ b/src/ChFiKPart/ChFiKPart_ComputeData_CS.cxx @@ -31,7 +31,7 @@ void ChFiKPart_CornerSpine(const Handle(Adaptor3d_HSurface)& S1, const Handle(Adaptor3d_HSurface)& S2, const gp_Pnt2d& P1S1, - const gp_Pnt2d& P2S1, + const gp_Pnt2d& /*P2S1*/, const gp_Pnt2d& P1S2, const gp_Pnt2d& P2S2, const Standard_Real R, diff --git a/src/ChFiKPart/ChFiKPart_ComputeData_ChAsymPlnCyl.cxx b/src/ChFiKPart/ChFiKPart_ComputeData_ChAsymPlnCyl.cxx index f7f69273ac..73c1532ce3 100755 --- a/src/ChFiKPart/ChFiKPart_ComputeData_ChAsymPlnCyl.cxx +++ b/src/ChFiKPart/ChFiKPart_ComputeData_ChAsymPlnCyl.cxx @@ -336,8 +336,8 @@ Standard_Boolean ChFiKPart_MakeChAsym(TopOpeBRepDS_DataStructure& DStr, const Handle(ChFiDS_SurfData)& Data, const gp_Pln& Pln, const gp_Cylinder& Cyl, - const Standard_Real fu, - const Standard_Real lu, + const Standard_Real /*fu*/, + const Standard_Real /*lu*/, const TopAbs_Orientation Or1, const TopAbs_Orientation Or2, const Standard_Real Dis, diff --git a/src/ChFiKPart/ChFiKPart_ComputeData_ChPlnCyl.cxx b/src/ChFiKPart/ChFiKPart_ComputeData_ChPlnCyl.cxx index 916afd377b..943f1008cc 100755 --- a/src/ChFiKPart/ChFiKPart_ComputeData_ChPlnCyl.cxx +++ b/src/ChFiKPart/ChFiKPart_ComputeData_ChPlnCyl.cxx @@ -321,8 +321,8 @@ Standard_Boolean ChFiKPart_MakeChamfer(TopOpeBRepDS_DataStructure& DStr, const Handle(ChFiDS_SurfData)& Data, const gp_Pln& Pln, const gp_Cylinder& Cyl, - const Standard_Real fu, - const Standard_Real lu, + const Standard_Real /*fu*/, + const Standard_Real /*lu*/, const TopAbs_Orientation Or1, const TopAbs_Orientation Or2, const Standard_Real Dis1, diff --git a/src/ChFiKPart/ChFiKPart_ComputeData_Sphere.cxx b/src/ChFiKPart/ChFiKPart_ComputeData_Sphere.cxx index 6380e7b72b..edfd408dba 100755 --- a/src/ChFiKPart/ChFiKPart_ComputeData_Sphere.cxx +++ b/src/ChFiKPart/ChFiKPart_ComputeData_Sphere.cxx @@ -51,7 +51,7 @@ Standard_Boolean ChFiKPart_Sphere(TopOpeBRepDS_DataStructure& DStr, const Handle(Adaptor3d_HSurface)& S1, const Handle(Adaptor3d_HSurface)& S2, const TopAbs_Orientation OrFace1, - const TopAbs_Orientation OrFace2, + const TopAbs_Orientation /*OrFace2*/, const TopAbs_Orientation Or1, const TopAbs_Orientation, const Standard_Real Rad, diff --git a/src/DDF/DDF_Data.cxx b/src/DDF/DDF_Data.cxx index cc80427137..f47e3d3379 100755 --- a/src/DDF/DDF_Data.cxx +++ b/src/DDF/DDF_Data.cxx @@ -55,7 +55,7 @@ DDF_Data::DDF_Data(const Handle(TDF_Data)& aDF) : myDF (aDF) {} //purpose : //======================================================================= -void DDF_Data::DrawOn(Draw_Display& dis) const +void DDF_Data::DrawOn(Draw_Display& /*dis*/) const { cout<<"DDF_Data"<SetDisplayed(isDisplayed); Handle(DDataStd_DrawPresentation)::DownCast(Into)->SetDrawable(myDrawable); } @@ -267,7 +266,7 @@ void DDataStd_DrawPresentation::AfterResume() //======================================================================= Standard_Boolean DDataStd_DrawPresentation::BeforeUndo (const Handle(TDF_AttributeDelta)& AD, - const Standard_Boolean forceIt) + const Standard_Boolean /*forceIt*/) { Handle(DDataStd_DrawPresentation) Pme = this; Handle(DDataStd_DrawPresentation) Pdt = Handle(DDataStd_DrawPresentation)::DownCast(AD->Attribute()); @@ -305,7 +304,7 @@ Standard_Boolean DDataStd_DrawPresentation::BeforeUndo (const Handle(TDF_Attribu //======================================================================= Standard_Boolean DDataStd_DrawPresentation::AfterUndo (const Handle(TDF_AttributeDelta)& AD, - const Standard_Boolean forceIt) + const Standard_Boolean /*forceIt*/) { Handle(DDataStd_DrawPresentation) Pme = this; Handle(DDataStd_DrawPresentation) Pdt = Handle(DDataStd_DrawPresentation)::DownCast(AD->Attribute()); diff --git a/src/DDataStd/DDataStd_TreeBrowser.cxx b/src/DDataStd/DDataStd_TreeBrowser.cxx index 0760301139..16a31a9c59 100755 --- a/src/DDataStd/DDataStd_TreeBrowser.cxx +++ b/src/DDataStd/DDataStd_TreeBrowser.cxx @@ -62,7 +62,7 @@ DDataStd_TreeBrowser::DDataStd_TreeBrowser(const TDF_Label& aLabel) //purpose : //======================================================================= -void DDataStd_TreeBrowser::DrawOn(Draw_Display& dis) const +void DDataStd_TreeBrowser::DrawOn(Draw_Display& /*dis*/) const { cout<<"DDataStd_TreeBrowser"<. //======================================================================= -void DNaming_BooleanOperationDriver::Validate(TFunction_Logbook& theLog) const +void DNaming_BooleanOperationDriver::Validate(TFunction_Logbook&) const {} //======================================================================= //function : MustExecute //purpose : Analyse in if the loaded function must be executed //======================================================================= -Standard_Boolean DNaming_BooleanOperationDriver::MustExecute(const TFunction_Logbook& theLog) const +Standard_Boolean DNaming_BooleanOperationDriver::MustExecute(const TFunction_Logbook&) const { return Standard_True; } diff --git a/src/DNaming/DNaming_BoxDriver.cxx b/src/DNaming/DNaming_BoxDriver.cxx index 41aa4276c4..18edd5d0c6 100644 --- a/src/DNaming/DNaming_BoxDriver.cxx +++ b/src/DNaming/DNaming_BoxDriver.cxx @@ -46,14 +46,14 @@ DNaming_BoxDriver::DNaming_BoxDriver() //function : Validate //purpose : Validates labels of a function in . //======================================================================= -void DNaming_BoxDriver::Validate(TFunction_Logbook& theLog) const +void DNaming_BoxDriver::Validate(TFunction_Logbook&) const {} //======================================================================= //function : MustExecute //purpose : Analyse in if the loaded function must be executed //======================================================================= -Standard_Boolean DNaming_BoxDriver::MustExecute(const TFunction_Logbook& theLog) const +Standard_Boolean DNaming_BoxDriver::MustExecute(const TFunction_Logbook&) const { return Standard_True; } diff --git a/src/DNaming/DNaming_CylinderDriver.cxx b/src/DNaming/DNaming_CylinderDriver.cxx index 829d6d40fc..7ff5027347 100644 --- a/src/DNaming/DNaming_CylinderDriver.cxx +++ b/src/DNaming/DNaming_CylinderDriver.cxx @@ -56,14 +56,14 @@ DNaming_CylinderDriver::DNaming_CylinderDriver() //function : Validate //purpose : Validates labels of a function in . //======================================================================= -void DNaming_CylinderDriver::Validate(TFunction_Logbook& theLog) const +void DNaming_CylinderDriver::Validate(TFunction_Logbook&) const {} //======================================================================= //function : MustExecute //purpose : Analyse in if the loaded function must be executed //======================================================================= -Standard_Boolean DNaming_CylinderDriver::MustExecute(const TFunction_Logbook& theLog) const +Standard_Boolean DNaming_CylinderDriver::MustExecute(const TFunction_Logbook&) const { return Standard_True; } diff --git a/src/DNaming/DNaming_FilletDriver.cxx b/src/DNaming/DNaming_FilletDriver.cxx index 1c0a4a2675..3e31d8abb9 100644 --- a/src/DNaming/DNaming_FilletDriver.cxx +++ b/src/DNaming/DNaming_FilletDriver.cxx @@ -56,14 +56,14 @@ DNaming_FilletDriver::DNaming_FilletDriver() //function : Validate //purpose : Validates labels of a function in . //======================================================================= -void DNaming_FilletDriver::Validate(TFunction_Logbook& theLog) const +void DNaming_FilletDriver::Validate(TFunction_Logbook&) const {} //======================================================================= //function : MustExecute //purpose : Analyse in if the loaded function must be executed //======================================================================= -Standard_Boolean DNaming_FilletDriver::MustExecute(const TFunction_Logbook& theLog) const +Standard_Boolean DNaming_FilletDriver::MustExecute(const TFunction_Logbook&) const { return Standard_True; } diff --git a/src/DNaming/DNaming_Line3DDriver.cxx b/src/DNaming/DNaming_Line3DDriver.cxx index a29d485aa7..b1135457e8 100644 --- a/src/DNaming/DNaming_Line3DDriver.cxx +++ b/src/DNaming/DNaming_Line3DDriver.cxx @@ -92,14 +92,14 @@ DNaming_Line3DDriver::DNaming_Line3DDriver() //function : Validate //purpose : Validates labels of a function in . //======================================================================= -void DNaming_Line3DDriver::Validate(TFunction_Logbook& theLog) const +void DNaming_Line3DDriver::Validate(TFunction_Logbook&) const {} //======================================================================= //function : MustExecute //purpose : Analyse in if the loaded function must be executed //======================================================================= -Standard_Boolean DNaming_Line3DDriver::MustExecute(const TFunction_Logbook& theLog) const +Standard_Boolean DNaming_Line3DDriver::MustExecute(const TFunction_Logbook&) const { return Standard_True; } diff --git a/src/DNaming/DNaming_ModelingCommands.cxx b/src/DNaming/DNaming_ModelingCommands.cxx index f710a5f447..0c5f895d31 100644 --- a/src/DNaming/DNaming_ModelingCommands.cxx +++ b/src/DNaming/DNaming_ModelingCommands.cxx @@ -206,7 +206,7 @@ else if(name == "Line3D") //function : DNaming_AddDriver //purpose : "AddDriver Doc Name1 Name2 ..." //======================================================================= -static Standard_Integer DNaming_AddDriver (Draw_Interpretor& theDI, +static Standard_Integer DNaming_AddDriver (Draw_Interpretor& /*theDI*/, Standard_Integer theNb, const char** theArg) { @@ -487,7 +487,7 @@ static Standard_Integer ComputeFunction(const Handle(TFunction_Function)& theFun // : "SolveFlatFrom Doc FistAuxObjLabel" //======================================================================= -static Standard_Integer DNaming_SolveFlatFrom (Draw_Interpretor& theDI, +static Standard_Integer DNaming_SolveFlatFrom (Draw_Interpretor& /*theDI*/, Standard_Integer theNb, const char** theArg) { @@ -549,7 +549,7 @@ static Standard_Integer DNaming_SolveFlatFrom (Draw_Interpretor& theDI, //function : DNaming_InitLogBook //purpose : "InitLogBook Doc " //======================================================================= -static Standard_Integer DNaming_InitLogBook (Draw_Interpretor& theDI, +static Standard_Integer DNaming_InitLogBook (Draw_Interpretor& /*theDI*/, Standard_Integer theNb, const char** theArg) { @@ -578,7 +578,7 @@ static Standard_Integer DNaming_InitLogBook (Draw_Interpretor& theDI, //function : DNaming_CheckLogBook //purpose : "CheckLogBook Doc" //======================================================================= -static Standard_Integer DNaming_CheckLogBook (Draw_Interpretor& theDI, +static Standard_Integer DNaming_CheckLogBook (Draw_Interpretor& /*theDI*/, Standard_Integer theNb, const char** theArg) { @@ -609,7 +609,7 @@ static Standard_Integer DNaming_CheckLogBook (Draw_Interpretor& theDI, //function : DNaming_ComputeFun //purpose : "ComputeFun Doc FunctionLabel" //======================================================================= -static Standard_Integer DNaming_ComputeFun (Draw_Interpretor& theDI, +static Standard_Integer DNaming_ComputeFun (Draw_Interpretor& /*theDI*/, Standard_Integer theNb, const char** theArg) { diff --git a/src/DNaming/DNaming_PointDriver.cxx b/src/DNaming/DNaming_PointDriver.cxx index fe0c2d24a4..a9c717540a 100644 --- a/src/DNaming/DNaming_PointDriver.cxx +++ b/src/DNaming/DNaming_PointDriver.cxx @@ -52,14 +52,14 @@ DNaming_PointDriver::DNaming_PointDriver() //function : Validate //purpose : Validates labels of a function in . //======================================================================= -void DNaming_PointDriver::Validate(TFunction_Logbook& theLog) const +void DNaming_PointDriver::Validate(TFunction_Logbook&) const {} //======================================================================= //function : MustExecute //purpose : Analyse in if the loaded function must be executed //======================================================================= -Standard_Boolean DNaming_PointDriver::MustExecute(const TFunction_Logbook& theLog) const +Standard_Boolean DNaming_PointDriver::MustExecute(const TFunction_Logbook&) const { return Standard_True; } diff --git a/src/DNaming/DNaming_PrismDriver.cxx b/src/DNaming/DNaming_PrismDriver.cxx index 3bdb59e75d..20aeff3c2d 100644 --- a/src/DNaming/DNaming_PrismDriver.cxx +++ b/src/DNaming/DNaming_PrismDriver.cxx @@ -75,14 +75,14 @@ DNaming_PrismDriver::DNaming_PrismDriver() //function : Validate //purpose : Validates labels of a function in . //======================================================================= -void DNaming_PrismDriver::Validate(TFunction_Logbook& theLog) const +void DNaming_PrismDriver::Validate(TFunction_Logbook&) const {} //======================================================================= //function : MustExecute //purpose : Analyses in if the loaded function must be executed //======================================================================= -Standard_Boolean DNaming_PrismDriver::MustExecute(const TFunction_Logbook& theLog) const +Standard_Boolean DNaming_PrismDriver::MustExecute(const TFunction_Logbook&) const { return Standard_True; } diff --git a/src/DNaming/DNaming_RevolutionDriver.cxx b/src/DNaming/DNaming_RevolutionDriver.cxx index c38dca46c2..03dea9acd8 100644 --- a/src/DNaming/DNaming_RevolutionDriver.cxx +++ b/src/DNaming/DNaming_RevolutionDriver.cxx @@ -80,14 +80,14 @@ DNaming_RevolutionDriver::DNaming_RevolutionDriver() //function : Validate //purpose : Validates labels of a function in . //======================================================================= -void DNaming_RevolutionDriver::Validate(TFunction_Logbook& theLog) const +void DNaming_RevolutionDriver::Validate(TFunction_Logbook&) const {} //======================================================================= //function : MustExecute //purpose : Analyses in if the loaded function must be executed //======================================================================= -Standard_Boolean DNaming_RevolutionDriver::MustExecute(const TFunction_Logbook& theLog) const +Standard_Boolean DNaming_RevolutionDriver::MustExecute(const TFunction_Logbook&) const { return Standard_True; } diff --git a/src/DNaming/DNaming_SphereDriver.cxx b/src/DNaming/DNaming_SphereDriver.cxx index 3730410dc1..9c3ae5ac15 100644 --- a/src/DNaming/DNaming_SphereDriver.cxx +++ b/src/DNaming/DNaming_SphereDriver.cxx @@ -61,14 +61,14 @@ DNaming_SphereDriver::DNaming_SphereDriver() //function : Validate //purpose : Validates labels of a function in //======================================================================= -void DNaming_SphereDriver::Validate(TFunction_Logbook& theLog) const +void DNaming_SphereDriver::Validate(TFunction_Logbook&) const {} //======================================================================= //function : MustExecute //purpose : Analyses in if the loaded function must be executed //======================================================================= -Standard_Boolean DNaming_SphereDriver::MustExecute(const TFunction_Logbook& theLog) const { +Standard_Boolean DNaming_SphereDriver::MustExecute(const TFunction_Logbook&) const { return Standard_True; } diff --git a/src/DNaming/DNaming_TransformationDriver.cxx b/src/DNaming/DNaming_TransformationDriver.cxx index 5e774a592d..dcef94dd67 100644 --- a/src/DNaming/DNaming_TransformationDriver.cxx +++ b/src/DNaming/DNaming_TransformationDriver.cxx @@ -87,14 +87,14 @@ DNaming_TransformationDriver::DNaming_TransformationDriver() //function : Validate //purpose : Validates labels of a function in . //======================================================================= -void DNaming_TransformationDriver::Validate(TFunction_Logbook& theLog) const +void DNaming_TransformationDriver::Validate(TFunction_Logbook&) const {} //======================================================================= //function : MustExecute //purpose : Analyse in if the loaded function must be executed //======================================================================= -Standard_Boolean DNaming_TransformationDriver::MustExecute(const TFunction_Logbook& theLog) const +Standard_Boolean DNaming_TransformationDriver::MustExecute(const TFunction_Logbook&) const { return Standard_True; } diff --git a/src/Draw/CommandWindow.cxx b/src/Draw/CommandWindow.cxx index 4dfe7701c1..d6a3bf3c4a 100755 --- a/src/Draw/CommandWindow.cxx +++ b/src/Draw/CommandWindow.cxx @@ -57,7 +57,7 @@ /*--------------------------------------------------------*\ | CREATE COMMAND WINDOW PROCEDURE \*--------------------------------------------------------*/ -HWND CreateCommandWindow(HWND hWnd, int nitem) +HWND CreateCommandWindow(HWND hWnd, int /*nitem*/) { HINSTANCE hInstance; diff --git a/src/Draw/Draw_BasicCommands.cxx b/src/Draw/Draw_BasicCommands.cxx index 730c396254..a823a7ba21 100755 --- a/src/Draw/Draw_BasicCommands.cxx +++ b/src/Draw/Draw_BasicCommands.cxx @@ -402,7 +402,7 @@ static Standard_Integer Draw_wait(Draw_Interpretor& , Standard_Integer n, const //purpose : //======================================================================= #ifdef _WIN32 -static unsigned int __stdcall CpuFunc (void * param) +static unsigned int __stdcall CpuFunc (void * /*param*/) { clock_t aCurrent; for(;;) @@ -428,8 +428,13 @@ static void CpuFunc (int) } #endif +#ifdef _WIN32 +static Standard_Integer cpulimit(Draw_Interpretor&, Standard_Integer n, const char** a) +{ +#else static Standard_Integer cpulimit(Draw_Interpretor& di, Standard_Integer n, const char** a) { +#endif #ifdef _WIN32 // Windows specific code diff --git a/src/Draw/Draw_Main.cxx b/src/Draw/Draw_Main.cxx index bf281a7eaf..f803b71fb7 100755 --- a/src/Draw/Draw_Main.cxx +++ b/src/Draw/Draw_Main.cxx @@ -117,7 +117,7 @@ extern Standard_Boolean Draw_IsConsoleSubsystem; //purpose : //======================================================================= -Standard_Integer _main_ (int argc, char* argv[], char* envp[], const FDraw_InitAppli fDraw_InitAppli) +Standard_Integer _main_ (int /*argc*/, char* argv[], char* /*envp*/[], const FDraw_InitAppli fDraw_InitAppli) { Draw_IsConsoleSubsystem = Standard_True; //return _WinMain_(::GetModuleHandle(NULL), NULL, GetCommandLine(), SW_SHOW, fDraw_InitAppli); @@ -139,7 +139,7 @@ Standard_Integer _main_ (int argc, char* argv[], char* envp[], const FDraw_InitA //purpose : //======================================================================= -Standard_Integer _WinMain_ (HINSTANCE hInstance, HINSTANCE hPrevinstance, LPSTR lpCmdLine, int nCmdShow, const FDraw_InitAppli fDraw_InitAppli) +Standard_Integer _WinMain_ (HINSTANCE /*hInstance*/, HINSTANCE /*hPrevinstance*/, LPSTR /*lpCmdLine*/, int /*nCmdShow*/, const FDraw_InitAppli /*fDraw_InitAppli*/) { // theDraw_InitAppli = fDraw_InitAppli; // ParseCommandLine (lpCmdLine); diff --git a/src/Draw/Draw_VariableCommands.cxx b/src/Draw/Draw_VariableCommands.cxx index d9a669f796..d70b332af9 100755 --- a/src/Draw/Draw_VariableCommands.cxx +++ b/src/Draw/Draw_VariableCommands.cxx @@ -598,7 +598,7 @@ static Standard_Integer set(Draw_Interpretor& di, Standard_Integer n, const char //purpose : //======================================================================= -static Standard_Integer dsetenv(Draw_Interpretor& di, Standard_Integer argc, const char** argv) +static Standard_Integer dsetenv(Draw_Interpretor& /*di*/, Standard_Integer argc, const char** argv) { if (argc < 2) { cout << "Use: " << argv[0] << " {varname} [value]" << endl; diff --git a/src/Draw/Draw_Viewer.cxx b/src/Draw/Draw_Viewer.cxx index 699fc59d7c..7792e61257 100755 --- a/src/Draw/Draw_Viewer.cxx +++ b/src/Draw/Draw_Viewer.cxx @@ -180,7 +180,7 @@ Draw_Window(theWindow, "Win", X, Y, W, H), id(i), viewer(v) //purpose : //======================================================================= #if defined(_WIN32) || defined (__WIN32__) || (defined(__APPLE__) && !defined(MACOSX_USE_GLX)) -Draw_View::Draw_View(Standard_Integer i, Draw_Viewer* v, const char* w) +Draw_View::Draw_View(Standard_Integer /*i*/, Draw_Viewer* /*v*/, const char* /*w*/) #else Draw_View::Draw_View(Standard_Integer i, Draw_Viewer* v, const char* w) : Draw_Window(w), id(i), viewer(v) diff --git a/src/Draw/MainWindow.cxx b/src/Draw/MainWindow.cxx index 8ea881b2fe..b5e1a9972d 100755 --- a/src/Draw/MainWindow.cxx +++ b/src/Draw/MainWindow.cxx @@ -94,7 +94,7 @@ BOOL CreateProc(HWND hWndFrame) | Handler for message WM_COMMAND | \*--------------------------------------------------------------------------*/ -BOOL CommandProc(HWND hWndFrame, WPARAM wParam, LPARAM lParam) +BOOL CommandProc(HWND hWndFrame, WPARAM wParam, LPARAM /*lParam*/) { HWND hWndClient; // Handle on window MDI HWND hWndActive; diff --git a/src/DsgPrs/DsgPrs.cxx b/src/DsgPrs/DsgPrs.cxx index 52bcf6c357..11915e544d 100755 --- a/src/DsgPrs/DsgPrs.cxx +++ b/src/DsgPrs/DsgPrs.cxx @@ -575,7 +575,7 @@ void DsgPrs::ComputeFacesAnglePresentation( const Standard_Real ArrowLength, -void DsgPrs::ComputeFilletRadiusPresentation( const Standard_Real ArrowLength, +void DsgPrs::ComputeFilletRadiusPresentation( const Standard_Real /*ArrowLength*/, const Standard_Real Value, const gp_Pnt & Position, const gp_Dir & NormalDir, diff --git a/src/DsgPrs/DsgPrs_AnglePresentation.cxx b/src/DsgPrs/DsgPrs_AnglePresentation.cxx index 053b0be228..3baab53217 100755 --- a/src/DsgPrs/DsgPrs_AnglePresentation.cxx +++ b/src/DsgPrs/DsgPrs_AnglePresentation.cxx @@ -78,7 +78,7 @@ static Standard_Integer AboveInBelowCone(const gp_Circ &CMax, const gp_Circ &CMi //========================================================================== void DsgPrs_AnglePresentation::Add (const Handle(Prs3d_Presentation)& aPresentation, const Handle(Prs3d_Drawer)& aDrawer, - const Standard_Real aVal, + const Standard_Real /*aVal*/, const TCollection_ExtendedString& aText, const gp_Circ& aCircle, const gp_Pnt& aPosition, diff --git a/src/DsgPrs/DsgPrs_OffsetPresentation.cxx b/src/DsgPrs/DsgPrs_OffsetPresentation.cxx index c126e9c116..64b6c6b54a 100755 --- a/src/DsgPrs/DsgPrs_OffsetPresentation.cxx +++ b/src/DsgPrs/DsgPrs_OffsetPresentation.cxx @@ -165,11 +165,11 @@ void DsgPrs_OffsetPresentation::Add (const Handle(Prs3d_Presentation)& aPresenta void DsgPrs_OffsetPresentation::AddAxes (const Handle(Prs3d_Presentation)& aPresentation, const Handle(Prs3d_Drawer)& aDrawer, - const TCollection_ExtendedString& aText, + const TCollection_ExtendedString& /*aText*/, const gp_Pnt& AttachmentPoint1, const gp_Pnt& AttachmentPoint2, const gp_Dir& aDirection, - const gp_Dir& aDirection2, + const gp_Dir& /*aDirection2*/, const gp_Pnt& OffsetPoint) { gp_Lin L1 (AttachmentPoint1,aDirection); diff --git a/src/Extrema/Extrema_GenExtCC.gxx b/src/Extrema/Extrema_GenExtCC.gxx index a56e6490e2..5977910ff8 100755 --- a/src/Extrema/Extrema_GenExtCC.gxx +++ b/src/Extrema/Extrema_GenExtCC.gxx @@ -53,8 +53,8 @@ Extrema_GenExtCC::Extrema_GenExtCC (const Curve1& C1, const Standard_Real Vsup, const Standard_Integer NbU, const Standard_Integer NbV, - const Standard_Real TolU, - const Standard_Real TolV) : myF (C1,C2), myDone (Standard_False) + const Standard_Real /*TolU*/, + const Standard_Real /*TolV*/) : myF (C1,C2), myDone (Standard_False) { SetCurveCache (1, new Cache (C1, Uinf, Usup, NbU, Standard_True)); SetCurveCache (2, new Cache (C2, Vinf, Vsup, NbV, Standard_True)); diff --git a/src/Extrema/Extrema_GenExtPS.cxx b/src/Extrema/Extrema_GenExtPS.cxx index 49f97c4aa2..2eac05b49a 100755 --- a/src/Extrema/Extrema_GenExtPS.cxx +++ b/src/Extrema/Extrema_GenExtPS.cxx @@ -790,7 +790,7 @@ void Extrema_GenExtPS::BuildTree() aFiller.Fill(); } -void Extrema_GenExtPS::FindSolution(const gp_Pnt& P, +void Extrema_GenExtPS::FindSolution(const gp_Pnt& /*P*/, const Extrema_POnSurfParams &theParams) { math_Vector Tol(1,2); diff --git a/src/FWOSDriver/FWOSDriver.cxx b/src/FWOSDriver/FWOSDriver.cxx index bfab9b4d10..eecf089c1e 100755 --- a/src/FWOSDriver/FWOSDriver.cxx +++ b/src/FWOSDriver/FWOSDriver.cxx @@ -32,7 +32,7 @@ PLUGIN(FWOSDriver) -Handle(Standard_Transient) FWOSDriver::Factory(const Standard_GUID& aGUID) { +Handle(Standard_Transient) FWOSDriver::Factory(const Standard_GUID& /*aGUID*/) { static Handle(FWOSDriver_DriverFactory) f; if(f.IsNull()) f = new FWOSDriver_DriverFactory; return f; diff --git a/src/FWOSDriver/FWOSDriver_Driver.cxx b/src/FWOSDriver/FWOSDriver_Driver.cxx index 4e19908b5b..dc20fd784c 100755 --- a/src/FWOSDriver/FWOSDriver_Driver.cxx +++ b/src/FWOSDriver/FWOSDriver_Driver.cxx @@ -54,7 +54,7 @@ FWOSDriver_Driver::FWOSDriver_Driver() {} //============================================================================== Standard_Boolean FWOSDriver_Driver::Find(const TCollection_ExtendedString& aFolder, const TCollection_ExtendedString& aName, - const TCollection_ExtendedString& aVersion) + const TCollection_ExtendedString& /*aVersion*/) { OSD_Path thePath=UTL::Path(aFolder); @@ -76,7 +76,7 @@ Standard_Boolean FWOSDriver_Driver::Find(const TCollection_ExtendedString& aFold //============================================================================== Standard_Boolean FWOSDriver_Driver::HasReadPermission(const TCollection_ExtendedString& aFolder, const TCollection_ExtendedString& aName, - const TCollection_ExtendedString& aVersion) + const TCollection_ExtendedString& /*aVersion*/) { OSD_SingleProtection theProtection=OSD_File(UTL::Path(Concatenate(aFolder,aName))).Protection().User(); switch (theProtection) { @@ -102,7 +102,7 @@ Standard_Boolean FWOSDriver_Driver::HasReadPermission(const TCollection_Extended //============================================================================== Handle(CDM_MetaData) FWOSDriver_Driver::MetaData(const TCollection_ExtendedString& aFolder, const TCollection_ExtendedString& aName, - const TCollection_ExtendedString& aVersion) + const TCollection_ExtendedString& /*aVersion*/) { TCollection_ExtendedString p = Concatenate(aFolder,aName); return CDM_MetaData::LookUp(aFolder,aName,p,p,UTL::IsReadOnly(p)); diff --git a/src/GccAna/GccAna_Circ2d2TanOn_9.cxx b/src/GccAna/GccAna_Circ2d2TanOn_9.cxx index 81b8f06b75..9209ab4d82 100755 --- a/src/GccAna/GccAna_Circ2d2TanOn_9.cxx +++ b/src/GccAna/GccAna_Circ2d2TanOn_9.cxx @@ -34,11 +34,7 @@ GccAna_Circ2d2TanOn:: GccAna_Circ2d2TanOn (const GccEnt_QualifiedLin& Qualified1 , const GccEnt_QualifiedLin& Qualified2 , const gp_Circ2d& OnCirc , - const Standard_Real -#ifdef DEB - Tolerance -#endif - ): + const Standard_Real ): cirsol(1,4) , qualifier1(1,4) , qualifier2(1,4), diff --git a/src/GccAna/GccAna_Circ2d2TanRad_4.cxx b/src/GccAna/GccAna_Circ2d2TanRad_4.cxx index df5b9ddd58..73b10764cc 100755 --- a/src/GccAna/GccAna_Circ2d2TanRad_4.cxx +++ b/src/GccAna/GccAna_Circ2d2TanRad_4.cxx @@ -50,11 +50,7 @@ GccAna_Circ2d2TanRad:: GccAna_Circ2d2TanRad (const GccEnt_QualifiedLin& Qualified1 , const GccEnt_QualifiedLin& Qualified2 , const Standard_Real Radius , - const Standard_Real -#ifdef DEB - Tolerance -#endif - ): + const Standard_Real ): qualifier1(1,4) , qualifier2(1,4), TheSame1(1,4) , diff --git a/src/GccAna/GccAna_Circ2d3Tan_3.cxx b/src/GccAna/GccAna_Circ2d3Tan_3.cxx index 246c15f4a5..3e15a8dfe6 100755 --- a/src/GccAna/GccAna_Circ2d3Tan_3.cxx +++ b/src/GccAna/GccAna_Circ2d3Tan_3.cxx @@ -42,10 +42,7 @@ GccAna_Circ2d3Tan:: GccAna_Circ2d3Tan (const GccEnt_QualifiedLin& Qualified1, const GccEnt_QualifiedLin& Qualified2, const GccEnt_QualifiedLin& Qualified3, - const Standard_Real -#ifdef DEB - Tolerance -#endif + const Standard_Real ): //========================================================================= diff --git a/src/GccIter/GccIter_FunctionTanCuCuCu.gxx b/src/GccIter/GccIter_FunctionTanCuCuCu.gxx index 93f28fa676..778751420e 100755 --- a/src/GccIter/GccIter_FunctionTanCuCuCu.gxx +++ b/src/GccIter/GccIter_FunctionTanCuCuCu.gxx @@ -225,9 +225,9 @@ Standard_Boolean GccIter_FunctionTanCuCuCu:: -Standard_Boolean GccIter_FunctionTanCuCuCu:: - Derivatives (const math_Vector& X , - math_Matrix& Deriv ) { +Standard_Boolean GccIter_FunctionTanCuCuCu::Derivatives (const math_Vector&, + math_Matrix&) +{ #if 0 gp_Pnt2d Point1; gp_Pnt2d Point2; @@ -351,10 +351,10 @@ Standard_Boolean GccIter_FunctionTanCuCuCu:: } -Standard_Boolean GccIter_FunctionTanCuCuCu:: - Values (const math_Vector& X , - math_Vector& Fval , - math_Matrix& Deriv ) { +Standard_Boolean GccIter_FunctionTanCuCuCu:: Values (const math_Vector&, + math_Vector&, + math_Matrix& ) +{ #if 0 gp_Pnt2d Point1; gp_Pnt2d Point2; diff --git a/src/GeomFill/GeomFill_DiscreteTrihedron.cxx b/src/GeomFill/GeomFill_DiscreteTrihedron.cxx index 6a74bfbf0f..c7d48ff2c6 100644 --- a/src/GeomFill/GeomFill_DiscreteTrihedron.cxx +++ b/src/GeomFill/GeomFill_DiscreteTrihedron.cxx @@ -327,7 +327,7 @@ Standard_Boolean GeomFill_DiscreteTrihedron::D2(const Standard_Real Param, //purpose : //======================================================================= -Standard_Integer GeomFill_DiscreteTrihedron::NbIntervals(const GeomAbs_Shape S) const +Standard_Integer GeomFill_DiscreteTrihedron::NbIntervals(const GeomAbs_Shape) const { return (myTrimmed->NbIntervals(GeomAbs_CN)); } @@ -338,7 +338,7 @@ Standard_Integer GeomFill_DiscreteTrihedron::NbIntervals(const GeomAbs_Shape S) //======================================================================= void GeomFill_DiscreteTrihedron::Intervals(TColStd_Array1OfReal& T, - const GeomAbs_Shape S) const + const GeomAbs_Shape) const { myTrimmed->Intervals(T, GeomAbs_CN); } diff --git a/src/GeomFill/GeomFill_GuideTrihedronPlan.cxx b/src/GeomFill/GeomFill_GuideTrihedronPlan.cxx index c148750e7a..5540963fce 100755 --- a/src/GeomFill/GeomFill_GuideTrihedronPlan.cxx +++ b/src/GeomFill/GeomFill_GuideTrihedronPlan.cxx @@ -52,7 +52,7 @@ #endif #if DEB -static void TracePlan(const Handle(Geom_Surface)& Plan) +static void TracePlan(const Handle(Geom_Surface)& /*Plan*/) { cout << "Pas d'intersection Guide/Plan" << endl; #if DRAW diff --git a/src/GeomFill/GeomFill_PlanFunc.cxx b/src/GeomFill/GeomFill_PlanFunc.cxx index 40919e9ebd..01de3eb585 100755 --- a/src/GeomFill/GeomFill_PlanFunc.cxx +++ b/src/GeomFill/GeomFill_PlanFunc.cxx @@ -98,7 +98,7 @@ void GeomFill_PlanFunc::D2E(const Standard_Real X, const gp_Vec& , Standard_Real& DFDT, // Standard_Real& , - Standard_Real& D2FDT2, + Standard_Real& /*D2FDT2*/, // Standard_Real& D2FDTDX) Standard_Real& ) { diff --git a/src/GeomPlate/GeomPlate_BuildPlateSurface.cxx b/src/GeomPlate/GeomPlate_BuildPlateSurface.cxx index cba5ae1a6e..6cfbbca04a 100755 --- a/src/GeomPlate/GeomPlate_BuildPlateSurface.cxx +++ b/src/GeomPlate/GeomPlate_BuildPlateSurface.cxx @@ -809,8 +809,8 @@ EcartContraintesMil ( const Standard_Integer c, // fonction : Disc2dContour //--------------------------------------------------------- void GeomPlate_BuildPlateSurface:: - Disc2dContour ( const Standard_Integer nbp, - TColgp_SequenceOfXY& Seq2d) + Disc2dContour ( const Standard_Integer /*nbp*/, + TColgp_SequenceOfXY& Seq2d) { #ifdef PLATE_DEB if (nbp!=4) @@ -945,9 +945,9 @@ void GeomPlate_BuildPlateSurface:: // fonction : Disc3dContour //--------------------------------------------------------- void GeomPlate_BuildPlateSurface:: -Disc3dContour ( const Standard_Integer nbp, - const Standard_Integer iordre, - TColgp_SequenceOfXYZ& Seq3d) +Disc3dContour (const Standard_Integer /*nbp*/, + const Standard_Integer iordre, + TColgp_SequenceOfXYZ& Seq3d) { #ifdef PLATE_DEB if (nbp!=4) diff --git a/src/GeometryTest/GeometryTest_API2dCommands.cxx b/src/GeometryTest/GeometryTest_API2dCommands.cxx index 0311b23d9a..5ea29e6fe3 100755 --- a/src/GeometryTest/GeometryTest_API2dCommands.cxx +++ b/src/GeometryTest/GeometryTest_API2dCommands.cxx @@ -260,7 +260,7 @@ static Standard_Integer extrema(Draw_Interpretor& di, Standard_Integer n, const //purpose : //======================================================================= -static Standard_Integer intersect(Draw_Interpretor& di, Standard_Integer n, const char** a) +static Standard_Integer intersect(Draw_Interpretor& /*di*/, Standard_Integer n, const char** a) { if( n < 2) return 1; diff --git a/src/GeometryTest/GeometryTest_SurfaceCommands.cxx b/src/GeometryTest/GeometryTest_SurfaceCommands.cxx index 21c50fda46..8e6d7ea80f 100755 --- a/src/GeometryTest/GeometryTest_SurfaceCommands.cxx +++ b/src/GeometryTest/GeometryTest_SurfaceCommands.cxx @@ -304,7 +304,7 @@ static Standard_Integer appsurf(Draw_Interpretor& di, return 0; } -static Standard_Integer fillcurves(Draw_Interpretor& di, +static Standard_Integer fillcurves(Draw_Interpretor& /*di*/, Standard_Integer n, const char** a) { if ( n < 6) return 1; diff --git a/src/GeomliteTest/GeomliteTest_ModificationCommands.cxx b/src/GeomliteTest/GeomliteTest_ModificationCommands.cxx index 5f3f2e5eb3..cf2629a065 100755 --- a/src/GeomliteTest/GeomliteTest_ModificationCommands.cxx +++ b/src/GeomliteTest/GeomliteTest_ModificationCommands.cxx @@ -110,7 +110,7 @@ static Standard_Integer extendsurf (Draw_Interpretor& di, Standard_Integer n, co //purpose : //======================================================================= -static Standard_Integer samerange (Draw_Interpretor& di, Standard_Integer n, const char** a) +static Standard_Integer samerange (Draw_Interpretor& /*di*/, Standard_Integer n, const char** a) { if (n < 6) return 1; Handle(Geom2d_Curve) C = DrawTrSurf::GetCurve2d(a[2]); diff --git a/src/Graphic3d/Graphic3d_Plotter.cxx b/src/Graphic3d/Graphic3d_Plotter.cxx index 4485b0eda7..3723024462 100755 --- a/src/Graphic3d/Graphic3d_Plotter.cxx +++ b/src/Graphic3d/Graphic3d_Plotter.cxx @@ -55,7 +55,7 @@ void Graphic3d_Plotter::Destroy () { //-Methods, in order -Standard_Boolean Graphic3d_Plotter::BeginPlot (const Handle(Graphic3d_DataStructureManager)& aProjector) { +Standard_Boolean Graphic3d_Plotter::BeginPlot (const Handle(Graphic3d_DataStructureManager)& /*aProjector*/) { if (MyPlottingState) Graphic3d_PlotterDefinitionError::Raise diff --git a/src/Graphic3d/Graphic3d_Structure.cxx b/src/Graphic3d/Graphic3d_Structure.cxx index 831caad9ae..3dce01e085 100755 --- a/src/Graphic3d/Graphic3d_Structure.cxx +++ b/src/Graphic3d/Graphic3d_Structure.cxx @@ -2378,8 +2378,14 @@ void Graphic3d_Structure::Plot (const Handle(Graphic3d_Plotter)& ) { } -void Graphic3d_Structure::SetManager (const Handle(Graphic3d_StructureManager)& AManager, const Standard_Boolean WithPropagation) { +void Graphic3d_Structure::SetManager (const Handle(Graphic3d_StructureManager)& AManager, + const Standard_Boolean + #ifdef IMPLEMENTED + WithPropagation + #endif + ) +{ // All connected structures should follow ? #ifdef IMPLEMENTED if (WithPropagation) { diff --git a/src/HLRBRep/HLRBRep_CurveTool.cxx b/src/HLRBRep/HLRBRep_CurveTool.cxx index 4d8ade43a7..cacc061d0e 100755 --- a/src/HLRBRep/HLRBRep_CurveTool.cxx +++ b/src/HLRBRep/HLRBRep_CurveTool.cxx @@ -60,8 +60,8 @@ HLRBRep_CurveTool::NbSamples (const Standard_Address C) Standard_Integer HLRBRep_CurveTool::NbSamples (const Standard_Address C, - const Standard_Real u1, - const Standard_Real u2) + const Standard_Real /*u1*/, + const Standard_Real /*u2*/) { GeomAbs_CurveType typC = ((HLRBRep_Curve *)C)->GetType(); static Standard_Real nbsOther = 10.0; diff --git a/src/HLRBRep/HLRBRep_CurveTool.lxx b/src/HLRBRep/HLRBRep_CurveTool.lxx index 2065e82f4f..bde44a4024 100755 --- a/src/HLRBRep/HLRBRep_CurveTool.lxx +++ b/src/HLRBRep/HLRBRep_CurveTool.lxx @@ -98,7 +98,7 @@ HLRBRep_CurveTool::Intervals(const Standard_Address C, //======================================================================= inline void -HLRBRep_CurveTool::GetInterval(const Standard_Address C, +HLRBRep_CurveTool::GetInterval(const Standard_Address /*C*/, const Standard_Integer i, const TColStd_Array1OfReal& Tab, Standard_Real& a, @@ -285,7 +285,7 @@ HLRBRep_CurveTool::Hyperbola (const Standard_Address C) //======================================================================= inline Handle(Geom2d_BezierCurve) - HLRBRep_CurveTool::Bezier (const Standard_Address C) + HLRBRep_CurveTool::Bezier (const Standard_Address /*C*/) { cout<<" HLRBRep_CurveTool::Bezier : Not Implemented "<Bezier()); @@ -298,7 +298,7 @@ inline Handle(Geom2d_BezierCurve) //======================================================================= inline Handle(Geom2d_BSplineCurve) - HLRBRep_CurveTool::BSpline (const Standard_Address C) + HLRBRep_CurveTool::BSpline (const Standard_Address /*C*/) { cout<<" HLRBRep_CurveTool::BSpline : Not Implemented "<BSpline()); @@ -311,7 +311,7 @@ inline Handle(Geom2d_BSplineCurve) //======================================================================= inline Standard_Real -HLRBRep_CurveTool::EpsX(const Standard_Address C) +HLRBRep_CurveTool::EpsX(const Standard_Address /*C*/) { return(1e-10); } diff --git a/src/HLRBRep/HLRBRep_Data.cxx b/src/HLRBRep/HLRBRep_Data.cxx index 5f4ee8ceab..1ab027e9f8 100755 --- a/src/HLRBRep/HLRBRep_Data.cxx +++ b/src/HLRBRep/HLRBRep_Data.cxx @@ -1846,7 +1846,7 @@ void HLRBRep_Data::OrientOthEdge (const Standard_Integer I, VertMax[15] = (Standard_Integer)((myDeca[15]+TotMax[15])*mySurD[15]); TopAbs_State -HLRBRep_Data::Classify (const Standard_Integer E, +HLRBRep_Data::Classify (const Standard_Integer /*E*/, const HLRBRep_EdgeData& ED, const Standard_Boolean LevelFlag, Standard_Integer& Level, @@ -2148,7 +2148,7 @@ HLRBRep_Data::Classify (const Standard_Integer E, //purpose : //======================================================================= -TopAbs_State HLRBRep_Data::SimplClassify (const Standard_Integer E, +TopAbs_State HLRBRep_Data::SimplClassify (const Standard_Integer /*E*/, const HLRBRep_EdgeData& ED, const Standard_Integer Nbp, const Standard_Real p1, diff --git a/src/HLRBRep/HLRBRep_Intersector.cxx b/src/HLRBRep/HLRBRep_Intersector.cxx index c66b0af069..b31f6f0b72 100755 --- a/src/HLRBRep/HLRBRep_Intersector.cxx +++ b/src/HLRBRep/HLRBRep_Intersector.cxx @@ -128,11 +128,11 @@ void HLRBRep_Intersector::Perform (const Standard_Address A1, //purpose : //======================================================================= -void HLRBRep_Intersector::Perform (const Standard_Integer nA, +void HLRBRep_Intersector::Perform (const Standard_Integer /*nA*/, const Standard_Address A1, const Standard_Real da1, const Standard_Real db1, - const Standard_Integer nB, + const Standard_Integer /*nB*/, const Standard_Address A2, const Standard_Real da2, const Standard_Real db2, diff --git a/src/HLRTest/HLRTest_OutLiner.cxx b/src/HLRTest/HLRTest_OutLiner.cxx index dc86ee66a0..aba79bdc0f 100755 --- a/src/HLRTest/HLRTest_OutLiner.cxx +++ b/src/HLRTest/HLRTest_OutLiner.cxx @@ -36,7 +36,7 @@ HLRTest_OutLiner::HLRTest_OutLiner (const TopoDS_Shape& S) //purpose : //======================================================================= -void HLRTest_OutLiner::DrawOn (Draw_Display& dis) const +void HLRTest_OutLiner::DrawOn (Draw_Display& /*dis*/) const { } diff --git a/src/HLRTopoBRep/HLRTopoBRep_DSFiller.cxx b/src/HLRTopoBRep/HLRTopoBRep_DSFiller.cxx index a576ffa469..27205fba25 100755 --- a/src/HLRTopoBRep/HLRTopoBRep_DSFiller.cxx +++ b/src/HLRTopoBRep/HLRTopoBRep_DSFiller.cxx @@ -171,7 +171,7 @@ void HLRTopoBRep_DSFiller::Insert (const TopoDS_Shape& S, //purpose : private, insert the outlines of a face //======================================================================= -void HLRTopoBRep_DSFiller::InsertFace (const Standard_Integer FI, +void HLRTopoBRep_DSFiller::InsertFace (const Standard_Integer /*FI*/, const TopoDS_Face& F, Contap_Contour& FO, HLRTopoBRep_Data& DS, diff --git a/src/IFSelect/IFSelect_ModifEditForm.cxx b/src/IFSelect/IFSelect_ModifEditForm.cxx index f647259b78..e363550939 100755 --- a/src/IFSelect/IFSelect_ModifEditForm.cxx +++ b/src/IFSelect/IFSelect_ModifEditForm.cxx @@ -28,8 +28,8 @@ IFSelect_ModifEditForm::IFSelect_ModifEditForm void IFSelect_ModifEditForm::Perform (IFSelect_ContextModif& ctx, const Handle(Interface_InterfaceModel)& target, - const Handle(Interface_Protocol)& protocol, - Interface_CopyTool& TC) const + const Handle(Interface_Protocol)& /*protocol*/, + Interface_CopyTool& /*TC*/) const { for (ctx.Start(); ctx.More(); ctx.Next()) { Standard_Boolean done = theedit->ApplyData(ctx.ValueResult(),target); diff --git a/src/IFSelect/IFSelect_ModifReorder.cxx b/src/IFSelect/IFSelect_ModifReorder.cxx index 089b2e3221..903a1333f1 100755 --- a/src/IFSelect/IFSelect_ModifReorder.cxx +++ b/src/IFSelect/IFSelect_ModifReorder.cxx @@ -22,9 +22,10 @@ IFSelect_ModifReorder::IFSelect_ModifReorder (const Standard_Boolean rootlast) : IFSelect_Modifier (Standard_True) { thertl = rootlast; } - void IFSelect_ModifReorder::Perform - (IFSelect_ContextModif& ctx, const Handle(Interface_InterfaceModel)& target, - const Handle(Interface_Protocol)& protocol, Interface_CopyTool& TC) const + void IFSelect_ModifReorder::Perform (IFSelect_ContextModif& ctx, + const Handle(Interface_InterfaceModel)& target, + const Handle(Interface_Protocol)& /*protocol*/, + Interface_CopyTool& /*TC*/) const { Interface_ShareTool sht (ctx.OriginalGraph()); Interface_EntityIterator list = sht.All (ctx.OriginalModel(),thertl); diff --git a/src/IFSelect/IFSelect_ParamEditor.cxx b/src/IFSelect/IFSelect_ParamEditor.cxx index a3793a94c0..42d960371a 100755 --- a/src/IFSelect/IFSelect_ParamEditor.cxx +++ b/src/IFSelect/IFSelect_ParamEditor.cxx @@ -50,18 +50,18 @@ TCollection_AsciiString IFSelect_ParamEditor::Label () const { return thelabel; } Standard_Boolean IFSelect_ParamEditor::Recognize - (const Handle(IFSelect_EditForm)& form) const + (const Handle(IFSelect_EditForm)& /*form*/) const { return Standard_True; } // pas de contrainte Handle(TCollection_HAsciiString) IFSelect_ParamEditor::StringValue - (const Handle(IFSelect_EditForm)& form,const Standard_Integer num) const + (const Handle(IFSelect_EditForm)& /*form*/,const Standard_Integer num) const { return TypedValue(num)->HStringValue(); } Standard_Boolean IFSelect_ParamEditor::Load (const Handle(IFSelect_EditForm)& form, - const Handle(Standard_Transient)& ent, - const Handle(Interface_InterfaceModel)& model) const + const Handle(Standard_Transient)& /*ent*/, + const Handle(Interface_InterfaceModel)& /*model*/) const { Standard_Integer i, nb = NbValues(); for (i = 1; i <= nb; i ++) form->LoadValue (i,TypedValue(i)->HStringValue()); @@ -72,8 +72,8 @@ Standard_Boolean IFSelect_ParamEditor::Load Standard_Boolean IFSelect_ParamEditor::Apply (const Handle(IFSelect_EditForm)& form, - const Handle(Standard_Transient)& ent, - const Handle(Interface_InterfaceModel)& model) const + const Handle(Standard_Transient)& /*ent*/, + const Handle(Interface_InterfaceModel)& /*model*/) const { Standard_Integer i, nb = NbValues(); for (i = 1; i <= nb; i ++) diff --git a/src/IFSelect/IFSelect_SelectSignature.cxx b/src/IFSelect/IFSelect_SelectSignature.cxx index e3892fe7d8..13e35a92b4 100755 --- a/src/IFSelect/IFSelect_SelectSignature.cxx +++ b/src/IFSelect/IFSelect_SelectSignature.cxx @@ -144,8 +144,8 @@ static Standard_Integer multsign } Standard_Boolean IFSelect_SelectSignature::Sort - (const Standard_Integer , const Handle(Standard_Transient)& ent, - const Handle(Interface_InterfaceModel)& model) const + (const Standard_Integer , const Handle(Standard_Transient)& /*ent*/, + const Handle(Interface_InterfaceModel)& /*model*/) const { return Standard_True; } const TCollection_AsciiString& IFSelect_SelectSignature::SignatureText () const diff --git a/src/IFSelect/IFSelect_SignAncestor.cxx b/src/IFSelect/IFSelect_SignAncestor.cxx index 5bd85a14f2..945cef15be 100755 --- a/src/IFSelect/IFSelect_SignAncestor.cxx +++ b/src/IFSelect/IFSelect_SignAncestor.cxx @@ -28,9 +28,9 @@ IFSelect_SignAncestor::IFSelect_SignAncestor (const Standard_Boolean nopk) : IFSelect_SignType (nopk) { } Standard_Boolean IFSelect_SignAncestor::Matches(const Handle(Standard_Transient)& ent, - const Handle(Interface_InterfaceModel)& model, + const Handle(Interface_InterfaceModel)& /*model*/, const TCollection_AsciiString& text, - const Standard_Boolean exact) const + const Standard_Boolean /*exact*/) const { if (ent.IsNull()) return Standard_False; DeclareAndCast(Standard_Type,atype,ent); diff --git a/src/IFSelect/IFSelect_SignType.cxx b/src/IFSelect/IFSelect_SignType.cxx index 8a6215e0d7..84dc757a70 100755 --- a/src/IFSelect/IFSelect_SignType.cxx +++ b/src/IFSelect/IFSelect_SignType.cxx @@ -29,7 +29,7 @@ static Standard_CString nulsign = ""; Standard_CString IFSelect_SignType::Value (const Handle(Standard_Transient)& ent, - const Handle(Interface_InterfaceModel)& model) const + const Handle(Interface_InterfaceModel)& /*model*/) const { if (ent.IsNull()) return nulsign; DeclareAndCast(Standard_Type,atype,ent); diff --git a/src/IGESAppli/IGESAppli_GeneralModule.cxx b/src/IGESAppli/IGESAppli_GeneralModule.cxx index ca27e02aad..00819de291 100755 --- a/src/IGESAppli/IGESAppli_GeneralModule.cxx +++ b/src/IGESAppli/IGESAppli_GeneralModule.cxx @@ -652,7 +652,7 @@ IGESAppli_GeneralModule::IGESAppli_GeneralModule () { } Standard_Integer IGESAppli_GeneralModule::CategoryNumber - (const Standard_Integer CN, const Handle(Standard_Transient)& ent, + (const Standard_Integer CN, const Handle(Standard_Transient)& /*ent*/, const Interface_ShareTool& ) const { if (CN == 4 || CN == 5 || CN == 17) return Interface_Category::Number("Piping"); diff --git a/src/IGESBasic/IGESBasic_Protocol.cxx b/src/IGESBasic/IGESBasic_Protocol.cxx index 664bb5aa7f..f9ca2f794d 100755 --- a/src/IGESBasic/IGESBasic_Protocol.cxx +++ b/src/IGESBasic/IGESBasic_Protocol.cxx @@ -66,7 +66,7 @@ static Handle(Standard_Type) atype01,atype02,atype03,atype04,atype05,atype06, { return 1; } Handle(Interface_Protocol) IGESBasic_Protocol::Resource - (const Standard_Integer num) const + (const Standard_Integer /*num*/) const { Handle(Interface_Protocol) res = IGESData::Protocol(); return res; diff --git a/src/IGESCAFControl/IGESCAFControl_Reader.cxx b/src/IGESCAFControl/IGESCAFControl_Reader.cxx index 1a2f5cb5ad..c599215d2a 100755 --- a/src/IGESCAFControl/IGESCAFControl_Reader.cxx +++ b/src/IGESCAFControl/IGESCAFControl_Reader.cxx @@ -397,7 +397,7 @@ Standard_Boolean IGESCAFControl_Reader::ReadColors (Handle(TDocStd_Document)& Do //purpose : //======================================================================= -Standard_Boolean IGESCAFControl_Reader::ReadNames (Handle(TDocStd_Document)& Doc) const +Standard_Boolean IGESCAFControl_Reader::ReadNames (Handle(TDocStd_Document)& /*Doc*/) const { Handle(Interface_InterfaceModel) Model = WS()->Model(); @@ -442,7 +442,7 @@ Standard_Boolean IGESCAFControl_Reader::ReadNames (Handle(TDocStd_Document)& Doc //purpose : //======================================================================= -Standard_Boolean IGESCAFControl_Reader::ReadLayers (Handle(TDocStd_Document)& Doc) const +Standard_Boolean IGESCAFControl_Reader::ReadLayers (Handle(TDocStd_Document)& /*Doc*/) const { Handle(Interface_InterfaceModel) Model = WS()->Model(); diff --git a/src/IGESData/IGESData_GeneralModule.cxx b/src/IGESData/IGESData_GeneralModule.cxx index 21504d439f..8a2f4b9e4b 100755 --- a/src/IGESData/IGESData_GeneralModule.cxx +++ b/src/IGESData/IGESData_GeneralModule.cxx @@ -81,7 +81,7 @@ void IGESData_GeneralModule::FillSharedCase Standard_Boolean IGESData_GeneralModule::CanCopy - (const Standard_Integer CN, const Handle(Standard_Transient)& ent) const + (const Standard_Integer /*CN*/, const Handle(Standard_Transient)& /*ent*/) const { return Standard_True; } void IGESData_GeneralModule::CopyCase diff --git a/src/IGESData/IGESData_Protocol.cxx b/src/IGESData/IGESData_Protocol.cxx index b63674a0eb..c70523530e 100755 --- a/src/IGESData/IGESData_Protocol.cxx +++ b/src/IGESData/IGESData_Protocol.cxx @@ -29,7 +29,7 @@ IGESData_Protocol::IGESData_Protocol () { } Standard_Integer IGESData_Protocol::NbResources () const { return 0; } Handle(Interface_Protocol) IGESData_Protocol::Resource - (const Standard_Integer num) const + (const Standard_Integer /*num*/) const { Handle(Interface_Protocol) nulpro; return nulpro; } diff --git a/src/IGESDefs/IGESDefs_GeneralModule.cxx b/src/IGESDefs/IGESDefs_GeneralModule.cxx index 5f6480f4ad..c9d83630fa 100755 --- a/src/IGESDefs/IGESDefs_GeneralModule.cxx +++ b/src/IGESDefs/IGESDefs_GeneralModule.cxx @@ -294,7 +294,7 @@ IGESDefs_GeneralModule::IGESDefs_GeneralModule () { } Standard_Integer IGESDefs_GeneralModule::CategoryNumber - (const Standard_Integer CN, const Handle(Standard_Transient)& ent, + (const Standard_Integer /*CN*/, const Handle(Standard_Transient)& /*ent*/, const Interface_ShareTool& ) const { return Interface_Category::Number("Auxiliary"); diff --git a/src/IGESDefs/IGESDefs_Protocol.cxx b/src/IGESDefs/IGESDefs_Protocol.cxx index edfef7b79b..92d8515d98 100755 --- a/src/IGESDefs/IGESDefs_Protocol.cxx +++ b/src/IGESDefs/IGESDefs_Protocol.cxx @@ -47,7 +47,7 @@ static Handle(Standard_Type) atype1,atype2,atype3,atype4,atype5,atype6,atype7; { return 1; } Handle(Interface_Protocol) IGESDefs_Protocol::Resource - (const Standard_Integer num) const + (const Standard_Integer /*num*/) const { Handle(Interface_Protocol) res = IGESGraph::Protocol(); return res; diff --git a/src/IGESDefs/IGESDefs_TabularData.cxx b/src/IGESDefs/IGESDefs_TabularData.cxx index 65b7f87887..65c17338de 100755 --- a/src/IGESDefs/IGESDefs_TabularData.cxx +++ b/src/IGESDefs/IGESDefs_TabularData.cxx @@ -117,8 +117,8 @@ IGESDefs_TabularData::IGESDefs_TabularData () { } // UNFINISHED // Array limits not sure. - Standard_Real IGESDefs_TabularData::DependentValue - (const Standard_Integer variablenum, const Standard_Integer valuenum) const +Standard_Real IGESDefs_TabularData::DependentValue (const Standard_Integer /*variablenum*/, + const Standard_Integer /*valuenum*/) const { Standard_Real val = 0.; #if 0 diff --git a/src/IGESDimen/IGESDimen_GeneralModule.cxx b/src/IGESDimen/IGESDimen_GeneralModule.cxx index 430702c6bb..94ac31c6a0 100755 --- a/src/IGESDimen/IGESDimen_GeneralModule.cxx +++ b/src/IGESDimen/IGESDimen_GeneralModule.cxx @@ -774,7 +774,7 @@ IGESDimen_GeneralModule::IGESDimen_GeneralModule () { } Standard_Integer IGESDimen_GeneralModule::CategoryNumber - (const Standard_Integer CN, const Handle(Standard_Transient)& , + (const Standard_Integer /*CN*/, const Handle(Standard_Transient)& , const Interface_ShareTool& ) const { return Interface_Category::Number("Drawing"); diff --git a/src/IGESDraw/IGESDraw_Protocol.cxx b/src/IGESDraw/IGESDraw_Protocol.cxx index 1972752d04..84eecb8547 100755 --- a/src/IGESDraw/IGESDraw_Protocol.cxx +++ b/src/IGESDraw/IGESDraw_Protocol.cxx @@ -63,7 +63,7 @@ static Handle(Standard_Type) atype01,atype02,atype03,atype04,atype05,atype06, { return 1; } Handle(Interface_Protocol) IGESDraw_Protocol::Resource - (const Standard_Integer num) const + (const Standard_Integer /*num*/) const { Handle(Interface_Protocol) res = IGESDimen::Protocol();; return res; diff --git a/src/IGESGeom/IGESGeom_Protocol.cxx b/src/IGESGeom/IGESGeom_Protocol.cxx index 9b15117fe2..666a564764 100755 --- a/src/IGESGeom/IGESGeom_Protocol.cxx +++ b/src/IGESGeom/IGESGeom_Protocol.cxx @@ -81,7 +81,7 @@ static Handle(Standard_Type) atype01,atype02,atype03,atype04,atype05,atype06, { return 1; } Handle(Interface_Protocol) IGESGeom_Protocol::Resource - (const Standard_Integer num) const + (const Standard_Integer /*num*/) const { Handle(Interface_Protocol) res = IGESBasic::Protocol();; return res; diff --git a/src/IGESGraph/IGESGraph_GeneralModule.cxx b/src/IGESGraph/IGESGraph_GeneralModule.cxx index ef1b39f102..a386f50367 100755 --- a/src/IGESGraph/IGESGraph_GeneralModule.cxx +++ b/src/IGESGraph/IGESGraph_GeneralModule.cxx @@ -504,7 +504,7 @@ IGESGraph_GeneralModule::IGESGraph_GeneralModule () { } Standard_Integer IGESGraph_GeneralModule::CategoryNumber - (const Standard_Integer CN, const Handle(Standard_Transient)& , + (const Standard_Integer /*CN*/, const Handle(Standard_Transient)& , const Interface_ShareTool& ) const { return Interface_Category::Number("Drawing"); diff --git a/src/IGESGraph/IGESGraph_Protocol.cxx b/src/IGESGraph/IGESGraph_Protocol.cxx index d75db551f2..f81a1c02e0 100755 --- a/src/IGESGraph/IGESGraph_Protocol.cxx +++ b/src/IGESGraph/IGESGraph_Protocol.cxx @@ -62,7 +62,7 @@ static Handle(Standard_Type) atype01,atype02,atype03,atype04,atype05,atype06, { return 1; } Handle(Interface_Protocol) IGESGraph_Protocol::Resource - (const Standard_Integer num) const + (const Standard_Integer /*num*/) const { Handle(Interface_Protocol) res = IGESBasic::Protocol();; return res; diff --git a/src/IGESSelect/IGESSelect_AddGroup.cxx b/src/IGESSelect/IGESSelect_AddGroup.cxx index d385fb32fe..d7701137a4 100755 --- a/src/IGESSelect/IGESSelect_AddGroup.cxx +++ b/src/IGESSelect/IGESSelect_AddGroup.cxx @@ -28,10 +28,9 @@ IGESSelect_AddGroup::IGESSelect_AddGroup () : IGESSelect_ModelModifier (Standard_True) { } - void IGESSelect_AddGroup::Performing - (IFSelect_ContextModif& ctx, - const Handle(IGESData_IGESModel)& target, - Interface_CopyTool& TC) const +void IGESSelect_AddGroup::Performing (IFSelect_ContextModif& ctx, + const Handle(IGESData_IGESModel)& target, + Interface_CopyTool& /*TC*/) const { if (ctx.IsForAll()) { ctx.CCheck(0)->AddFail ("Add Group : Selection required not defined"); diff --git a/src/IGESSelect/IGESSelect_EditDirPart.cxx b/src/IGESSelect/IGESSelect_EditDirPart.cxx index 3220620b5a..94c11c8cc2 100755 --- a/src/IGESSelect/IGESSelect_EditDirPart.cxx +++ b/src/IGESSelect/IGESSelect_EditDirPart.cxx @@ -133,11 +133,11 @@ static Handle(Interface_TypedValue) NewDefList(const Standard_CString name) { return TCollection_AsciiString ("IGES Header"); } Standard_Boolean IGESSelect_EditDirPart::Recognize - (const Handle(IFSelect_EditForm)& form) const + (const Handle(IFSelect_EditForm)& /*form*/) const { return Standard_True; } // ?? Handle(TCollection_HAsciiString) IGESSelect_EditDirPart::StringValue - (const Handle(IFSelect_EditForm)& form, const Standard_Integer num) const + (const Handle(IFSelect_EditForm)& /*form*/, const Standard_Integer num) const { // Default Values return TypedValue(num)->HStringValue(); @@ -222,7 +222,7 @@ Handle(TCollection_HAsciiString) DefListName (const IGESData_DefList& deflist) (const Handle(IFSelect_EditForm)& form, const Standard_Integer num, const Handle(TCollection_HAsciiString)& val, - const Standard_Boolean enforce) const + const Standard_Boolean /*enforce*/) const { Handle(TCollection_HAsciiString) nulstr; Handle(IGESData_IGESModel) modl = diff --git a/src/IGESSelect/IGESSelect_EditHeader.cxx b/src/IGESSelect/IGESSelect_EditHeader.cxx index 5b3a68821c..5a211152fd 100755 --- a/src/IGESSelect/IGESSelect_EditHeader.cxx +++ b/src/IGESSelect/IGESSelect_EditHeader.cxx @@ -190,11 +190,11 @@ static Standard_Boolean IsTimeStamp { return TCollection_AsciiString ("IGES Header"); } Standard_Boolean IGESSelect_EditHeader::Recognize - (const Handle(IFSelect_EditForm)& form) const + (const Handle(IFSelect_EditForm)& /*form*/) const { return Standard_True; } // ?? Handle(TCollection_HAsciiString) IGESSelect_EditHeader::StringValue - (const Handle(IFSelect_EditForm)& form, const Standard_Integer num) const + (const Handle(IFSelect_EditForm)& /*form*/, const Standard_Integer num) const { // Default Values return TypedValue(num)->HStringValue(); @@ -202,7 +202,7 @@ static Standard_Boolean IsTimeStamp Standard_Boolean IGESSelect_EditHeader::Load (const Handle(IFSelect_EditForm)& form, - const Handle(Standard_Transient)& ent, + const Handle(Standard_Transient)& /*ent*/, const Handle(Interface_InterfaceModel)& model) const { Handle(IGESData_IGESModel) modl = @@ -300,7 +300,7 @@ static Standard_Boolean IsTimeStamp Standard_Boolean IGESSelect_EditHeader::Apply (const Handle(IFSelect_EditForm)& form, - const Handle(Standard_Transient)& ent, + const Handle(Standard_Transient)& /*ent*/, const Handle(Interface_InterfaceModel)& model) const { Handle(IGESData_IGESModel) modl = diff --git a/src/IGESSelect/IGESSelect_FloatFormat.cxx b/src/IGESSelect/IGESSelect_FloatFormat.cxx index caa9740ae3..b58d14e0ac 100755 --- a/src/IGESSelect/IGESSelect_FloatFormat.cxx +++ b/src/IGESSelect/IGESSelect_FloatFormat.cxx @@ -74,7 +74,7 @@ IGESSelect_FloatFormat::IGESSelect_FloatFormat () void IGESSelect_FloatFormat::Perform - (IFSelect_ContextWrite& ctx, + (IFSelect_ContextWrite& /*ctx*/, IGESData_IGESWriter& writer) const { writer.FloatWriter().SetFormat (themainform.ToCString()); diff --git a/src/IGESSelect/IGESSelect_IGESName.cxx b/src/IGESSelect/IGESSelect_IGESName.cxx index 582d9ff352..f2d61807fb 100755 --- a/src/IGESSelect/IGESSelect_IGESName.cxx +++ b/src/IGESSelect/IGESSelect_IGESName.cxx @@ -30,7 +30,7 @@ static char voidlabel [] = ""; Standard_CString IGESSelect_IGESName::Value (const Handle(Standard_Transient)& ent, - const Handle(Interface_InterfaceModel)& model) const + const Handle(Interface_InterfaceModel)& /*model*/) const { DeclareAndCast(IGESData_IGESEntity,igesent,ent); if (igesent.IsNull()) return &falsetype[0]; diff --git a/src/IGESSelect/IGESSelect_IGESTypeForm.cxx b/src/IGESSelect/IGESSelect_IGESTypeForm.cxx index 81e1778d99..745d5e99b7 100755 --- a/src/IGESSelect/IGESSelect_IGESTypeForm.cxx +++ b/src/IGESSelect/IGESSelect_IGESTypeForm.cxx @@ -43,7 +43,7 @@ static char typeval [30]; // une seule reponse a la fois ... Standard_CString IGESSelect_IGESTypeForm::Value (const Handle(Standard_Transient)& ent, - const Handle(Interface_InterfaceModel)& model) const + const Handle(Interface_InterfaceModel)& /*model*/) const { DeclareAndCast(IGESData_IGESEntity,igesent,ent); if (igesent.IsNull()) return &falsetype[0]; diff --git a/src/IGESSelect/IGESSelect_RemoveCurves.cxx b/src/IGESSelect/IGESSelect_RemoveCurves.cxx index b6db77ebde..f44f40ec77 100755 --- a/src/IGESSelect/IGESSelect_RemoveCurves.cxx +++ b/src/IGESSelect/IGESSelect_RemoveCurves.cxx @@ -114,10 +114,9 @@ static Standard_Boolean Edit } - void IGESSelect_RemoveCurves::Performing - (IFSelect_ContextModif& ctx, - const Handle(IGESData_IGESModel)& target, - Interface_CopyTool& TC) const +void IGESSelect_RemoveCurves::Performing (IFSelect_ContextModif& ctx, + const Handle(IGESData_IGESModel)& /*target*/, + Interface_CopyTool& /*TC*/) const { for (ctx.Start(); ctx.More(); ctx.Next()) { if (Edit (ctx.ValueResult(),theUV) ) ctx.Trace (); diff --git a/src/IGESSelect/IGESSelect_SelectBasicGeom.cxx b/src/IGESSelect/IGESSelect_SelectBasicGeom.cxx index 76502a6b3a..e6febda70e 100755 --- a/src/IGESSelect/IGESSelect_SelectBasicGeom.cxx +++ b/src/IGESSelect/IGESSelect_SelectBasicGeom.cxx @@ -40,8 +40,8 @@ IGESSelect_SelectBasicGeom::IGESSelect_SelectBasicGeom : IFSelect_SelectExplore (-1) { thegeom = mode; } Standard_Boolean IGESSelect_SelectBasicGeom::Explore - (const Standard_Integer level, const Handle(Standard_Transient)& ent, - const Interface_Graph& G, Interface_EntityIterator& explored) const + (const Standard_Integer /*level*/, const Handle(Standard_Transient)& ent, + const Interface_Graph& /*G*/, Interface_EntityIterator& explored) const { // thegeom > 0 : curves3d < 0 : surfaces == 0 : curves3d + surfaces libres diff --git a/src/IGESSelect/IGESSelect_SelectBypassGroup.cxx b/src/IGESSelect/IGESSelect_SelectBypassGroup.cxx index 3872072f1a..681d03ab99 100755 --- a/src/IGESSelect/IGESSelect_SelectBypassGroup.cxx +++ b/src/IGESSelect/IGESSelect_SelectBypassGroup.cxx @@ -33,8 +33,8 @@ IGESSelect_SelectBypassGroup::IGESSelect_SelectBypassGroup Standard_Boolean IGESSelect_SelectBypassGroup::Explore - (const Standard_Integer level, const Handle(Standard_Transient)& ent, - const Interface_Graph& G, Interface_EntityIterator& explored) const + (const Standard_Integer /*level*/, const Handle(Standard_Transient)& ent, + const Interface_Graph& /*G*/, Interface_EntityIterator& explored) const { DeclareAndCast(IGESBasic_Group,gr,ent); // Group les regroupe tous if (gr.IsNull()) return Standard_True; diff --git a/src/IGESSelect/IGESSelect_SelectBypassSubfigure.cxx b/src/IGESSelect/IGESSelect_SelectBypassSubfigure.cxx index 494c8e5707..b4e69d3c25 100755 --- a/src/IGESSelect/IGESSelect_SelectBypassSubfigure.cxx +++ b/src/IGESSelect/IGESSelect_SelectBypassSubfigure.cxx @@ -34,8 +34,8 @@ IGESSelect_SelectBypassSubfigure::IGESSelect_SelectBypassSubfigure Standard_Boolean IGESSelect_SelectBypassSubfigure::Explore - (const Standard_Integer level, const Handle(Standard_Transient)& ent, - const Interface_Graph& G, Interface_EntityIterator& explored) const + (const Standard_Integer /*level*/, const Handle(Standard_Transient)& ent, + const Interface_Graph& /*G*/, Interface_EntityIterator& explored) const { DeclareAndCast(IGESData_IGESEntity,igesent,ent); if (igesent.IsNull()) return Standard_False; diff --git a/src/IGESSelect/IGESSelect_SelectFaces.cxx b/src/IGESSelect/IGESSelect_SelectFaces.cxx index 71d0178aa9..cf4559dc38 100755 --- a/src/IGESSelect/IGESSelect_SelectFaces.cxx +++ b/src/IGESSelect/IGESSelect_SelectFaces.cxx @@ -31,8 +31,8 @@ IGESSelect_SelectFaces::IGESSelect_SelectFaces () Standard_Boolean IGESSelect_SelectFaces::Explore - (const Standard_Integer level, const Handle(Standard_Transient)& ent, - const Interface_Graph& G, Interface_EntityIterator& explored) const + (const Standard_Integer /*level*/, const Handle(Standard_Transient)& ent, + const Interface_Graph& /*G*/, Interface_EntityIterator& explored) const { DeclareAndCast(IGESData_IGESEntity,igesent,ent); if (igesent.IsNull()) return Standard_False; diff --git a/src/IGESSelect/IGESSelect_SelectLevelNumber.cxx b/src/IGESSelect/IGESSelect_SelectLevelNumber.cxx index 0ee00ef3c8..35dcc97dbc 100755 --- a/src/IGESSelect/IGESSelect_SelectLevelNumber.cxx +++ b/src/IGESSelect/IGESSelect_SelectLevelNumber.cxx @@ -35,8 +35,9 @@ IGESSelect_SelectLevelNumber::IGESSelect_SelectLevelNumber () { } Standard_Boolean IGESSelect_SelectLevelNumber::Sort - (const Standard_Integer rank, const Handle(Standard_Transient)& ent, - const Handle(Interface_InterfaceModel)& model) const + (const Standard_Integer /*rank*/, + const Handle(Standard_Transient)& ent, + const Handle(Interface_InterfaceModel)& /*model*/) const { DeclareAndCast(IGESData_IGESEntity,igesent,ent); if (igesent.IsNull()) return Standard_False; diff --git a/src/IGESSelect/IGESSelect_SelectName.cxx b/src/IGESSelect/IGESSelect_SelectName.cxx index 27837d4009..7439baff49 100755 --- a/src/IGESSelect/IGESSelect_SelectName.cxx +++ b/src/IGESSelect/IGESSelect_SelectName.cxx @@ -33,8 +33,9 @@ IGESSelect_SelectName::IGESSelect_SelectName () { } Standard_Boolean IGESSelect_SelectName::Sort - (const Standard_Integer rank, const Handle(Standard_Transient)& ent, - const Handle(Interface_InterfaceModel)& model) const + (const Standard_Integer /*rank*/, + const Handle(Standard_Transient)& ent, + const Handle(Interface_InterfaceModel)& /*model*/) const { DeclareAndCast(IGESData_IGESEntity,igesent,ent); if (igesent.IsNull()) return Standard_False; diff --git a/src/IGESSelect/IGESSelect_SelectPCurves.cxx b/src/IGESSelect/IGESSelect_SelectPCurves.cxx index 078152bf04..8b78323f5f 100755 --- a/src/IGESSelect/IGESSelect_SelectPCurves.cxx +++ b/src/IGESSelect/IGESSelect_SelectPCurves.cxx @@ -37,7 +37,7 @@ IGESSelect_SelectPCurves::IGESSelect_SelectPCurves Standard_Boolean IGESSelect_SelectPCurves::Explore (const Standard_Integer level, const Handle(Standard_Transient)& ent, - const Interface_Graph& G, Interface_EntityIterator& explored) const + const Interface_Graph& /*G*/, Interface_EntityIterator& explored) const { DeclareAndCast(IGESData_IGESEntity,igesent,ent); if (igesent.IsNull()) return Standard_False; diff --git a/src/IGESSelect/IGESSelect_SelectSubordinate.cxx b/src/IGESSelect/IGESSelect_SelectSubordinate.cxx index 514ef114af..13c7857d1c 100755 --- a/src/IGESSelect/IGESSelect_SelectSubordinate.cxx +++ b/src/IGESSelect/IGESSelect_SelectSubordinate.cxx @@ -29,7 +29,7 @@ IGESSelect_SelectSubordinate::IGESSelect_SelectSubordinate Standard_Boolean IGESSelect_SelectSubordinate::Sort (const Standard_Integer, const Handle(Standard_Transient)& ent, - const Handle(Interface_InterfaceModel)& model) const + const Handle(Interface_InterfaceModel)& /*model*/) const { DeclareAndCast(IGESData_IGESEntity,igesent,ent); if (igesent.IsNull()) return Standard_False; diff --git a/src/IGESSelect/IGESSelect_SelectVisibleStatus.cxx b/src/IGESSelect/IGESSelect_SelectVisibleStatus.cxx index e60345b42c..e4a72f28c6 100755 --- a/src/IGESSelect/IGESSelect_SelectVisibleStatus.cxx +++ b/src/IGESSelect/IGESSelect_SelectVisibleStatus.cxx @@ -25,8 +25,9 @@ IGESSelect_SelectVisibleStatus::IGESSelect_SelectVisibleStatus () { } Standard_Boolean IGESSelect_SelectVisibleStatus::Sort - (const Standard_Integer rank, const Handle(Standard_Transient)& ent, - const Handle(Interface_InterfaceModel)& model) const + (const Standard_Integer /*rank*/, + const Handle(Standard_Transient)& ent, + const Handle(Interface_InterfaceModel)& /*model*/) const { DeclareAndCast(IGESData_IGESEntity,igesent,ent); if (igesent.IsNull()) return Standard_False; diff --git a/src/IGESSelect/IGESSelect_SetLabel.cxx b/src/IGESSelect/IGESSelect_SetLabel.cxx index c050c2abf7..65becc85fb 100755 --- a/src/IGESSelect/IGESSelect_SetLabel.cxx +++ b/src/IGESSelect/IGESSelect_SetLabel.cxx @@ -25,10 +25,9 @@ IGESSelect_SetLabel::IGESSelect_SetLabel : IGESSelect_ModelModifier (Standard_False) , themode (mode) , theforce (enforce) { } - void IGESSelect_SetLabel::Performing - (IFSelect_ContextModif& ctx, - const Handle(IGESData_IGESModel)& target, - Interface_CopyTool& TC) const + void IGESSelect_SetLabel::Performing(IFSelect_ContextModif& ctx, + const Handle(IGESData_IGESModel)& target, + Interface_CopyTool& /*TC*/) const { Handle(TCollection_HAsciiString) lab; for (ctx.Start(); ctx.More(); ctx.Next()) { diff --git a/src/IGESSelect/IGESSelect_SignStatus.cxx b/src/IGESSelect/IGESSelect_SignStatus.cxx index ff1db1f5c7..d05ac06848 100755 --- a/src/IGESSelect/IGESSelect_SignStatus.cxx +++ b/src/IGESSelect/IGESSelect_SignStatus.cxx @@ -27,7 +27,7 @@ static char theval[10]; Standard_CString IGESSelect_SignStatus::Value (const Handle(Standard_Transient)& ent, - const Handle(Interface_InterfaceModel)& model) const + const Handle(Interface_InterfaceModel)& /*model*/) const { Handle(IGESData_IGESEntity) igesent = Handle(IGESData_IGESEntity)::DownCast(ent); if (igesent.IsNull()) return ""; @@ -42,7 +42,7 @@ static char theval[10]; Standard_Boolean IGESSelect_SignStatus::Matches (const Handle(Standard_Transient)& ent, - const Handle(Interface_InterfaceModel)& model, + const Handle(Interface_InterfaceModel)& /*model*/, const TCollection_AsciiString& text, const Standard_Boolean exact) const { Handle(IGESData_IGESEntity) igesent = Handle(IGESData_IGESEntity)::DownCast(ent); diff --git a/src/IGESSelect/IGESSelect_UpdateFileName.cxx b/src/IGESSelect/IGESSelect_UpdateFileName.cxx index 43b94ac318..382b7540ac 100755 --- a/src/IGESSelect/IGESSelect_UpdateFileName.cxx +++ b/src/IGESSelect/IGESSelect_UpdateFileName.cxx @@ -24,9 +24,9 @@ IGESSelect_UpdateFileName::IGESSelect_UpdateFileName () : IGESSelect_ModelModifier (Standard_False) { } - void IGESSelect_UpdateFileName::Performing - (IFSelect_ContextModif& ctx, const Handle(IGESData_IGESModel)& target, - Interface_CopyTool& TC) const +void IGESSelect_UpdateFileName::Performing (IFSelect_ContextModif& ctx, + const Handle(IGESData_IGESModel)& target, + Interface_CopyTool& /*TC*/) const { if (!ctx.HasFileName()) { ctx.CCheck(0)->AddWarning("New File Name unknown, former one is kept"); diff --git a/src/IGESSolid/IGESSolid_GeneralModule.cxx b/src/IGESSolid/IGESSolid_GeneralModule.cxx index d716826d7b..02a920ca2b 100755 --- a/src/IGESSolid/IGESSolid_GeneralModule.cxx +++ b/src/IGESSolid/IGESSolid_GeneralModule.cxx @@ -804,7 +804,7 @@ IGESSolid_GeneralModule::IGESSolid_GeneralModule () { } Standard_Integer IGESSolid_GeneralModule::CategoryNumber - (const Standard_Integer CN, const Handle(Standard_Transient)& , + (const Standard_Integer /*CN*/, const Handle(Standard_Transient)& , const Interface_ShareTool& ) const { return Interface_Category::Number("Shape"); diff --git a/src/IGESSolid/IGESSolid_Protocol.cxx b/src/IGESSolid/IGESSolid_Protocol.cxx index bda39c7c5b..02632ab7f9 100755 --- a/src/IGESSolid/IGESSolid_Protocol.cxx +++ b/src/IGESSolid/IGESSolid_Protocol.cxx @@ -84,7 +84,7 @@ static Handle(Standard_Type) atype01,atype02,atype03,atype04,atype05,atype06, { return 1; } Handle(Interface_Protocol) IGESSolid_Protocol::Resource - (const Standard_Integer num) const + (const Standard_Integer /*num*/) const { Handle(Interface_Protocol) res = IGESGeom::Protocol();; return res; diff --git a/src/IGESSolid/IGESSolid_ReadWriteModule.cxx b/src/IGESSolid/IGESSolid_ReadWriteModule.cxx index 0489a9970c..0532562159 100755 --- a/src/IGESSolid/IGESSolid_ReadWriteModule.cxx +++ b/src/IGESSolid/IGESSolid_ReadWriteModule.cxx @@ -79,7 +79,7 @@ IGESSolid_ReadWriteModule::IGESSolid_ReadWriteModule () { } Standard_Integer IGESSolid_ReadWriteModule::CaseIGES - (const Standard_Integer typenum, const Standard_Integer formnum) const + (const Standard_Integer typenum, const Standard_Integer /*formnum*/) const { switch (typenum) { case 150 : return 1; diff --git a/src/Image/Image_AlienPixMap.cxx b/src/Image/Image_AlienPixMap.cxx index 2ba51fe28b..caef10b0ea 100644 --- a/src/Image/Image_AlienPixMap.cxx +++ b/src/Image/Image_AlienPixMap.cxx @@ -129,11 +129,11 @@ Image_AlienPixMap::~Image_AlienPixMap() // function : InitWrapper // purpose : // ======================================================================= -bool Image_AlienPixMap::InitWrapper (ImgFormat thePixelFormat, - Standard_Byte* theDataPtr, - const Standard_Size theSizeX, - const Standard_Size theSizeY, - const Standard_Size theSizeRowBytes) +bool Image_AlienPixMap::InitWrapper (ImgFormat, + Standard_Byte*, + const Standard_Size, + const Standard_Size, + const Standard_Size) { Clear(); return false; @@ -242,11 +242,10 @@ void Image_AlienPixMap::Clear (ImgFormat thePixelFormat) // function : Load // purpose : // ======================================================================= +#ifdef HAVE_FREEIMAGE bool Image_AlienPixMap::Load (const TCollection_AsciiString& theImagePath) { Clear(); -#ifdef HAVE_FREEIMAGE - FREE_IMAGE_FORMAT aFIF = FreeImage_GetFileType (theImagePath.ToCString(), 0); if (aFIF == FIF_UNKNOWN) { @@ -293,10 +292,14 @@ bool Image_AlienPixMap::Load (const TCollection_AsciiString& theImagePath) // assign image after wrapper initialization (virtual Clear() called inside) myLibImage = anImage; return true; +} #else +bool Image_AlienPixMap::Load (const TCollection_AsciiString&) +{ + Clear(); return false; -#endif } +#endif // ======================================================================= // function : savePPM @@ -505,11 +508,14 @@ bool Image_AlienPixMap::Save (const TCollection_AsciiString& theFileName) // function : AdjustGamma // purpose : // ======================================================================= +#ifdef HAVE_FREEIMAGE Standard_EXPORT bool Image_AlienPixMap::AdjustGamma (const Standard_Real theGammaCorr) { -#ifdef HAVE_FREEIMAGE return FreeImage_AdjustGamma (myLibImage, theGammaCorr) != FALSE; +} #else - return false; -#endif +Standard_EXPORT bool Image_AlienPixMap::AdjustGamma (const Standard_Real) +{ + return false; } +#endif diff --git a/src/IntCurve/IntCurve_IntPolyPolyGen.gxx b/src/IntCurve/IntCurve_IntPolyPolyGen.gxx index e0a0bc67ac..2d6eace8b7 100755 --- a/src/IntCurve/IntCurve_IntPolyPolyGen.gxx +++ b/src/IntCurve/IntCurve_IntPolyPolyGen.gxx @@ -362,7 +362,7 @@ void IntCurve_IntPolyPolyGen::Perform( const TheCurve& C1 ,const Standard_Real TolConf ,const Standard_Real Tol ,const Standard_Integer NbIter - ,const Standard_Real DeltaU + ,const Standard_Real /*DeltaU*/ ,const Standard_Real) { gp_Vec2d Tan1,Tan2,Norm1,Norm2; diff --git a/src/IntPolyh/IntPolyh_Intersection.cxx b/src/IntPolyh/IntPolyh_Intersection.cxx index 96785704fd..7dd7e29f8c 100755 --- a/src/IntPolyh/IntPolyh_Intersection.cxx +++ b/src/IntPolyh/IntPolyh_Intersection.cxx @@ -197,7 +197,7 @@ Standard_Integer IntPolyh_Intersection::NbPointsInLine(const Standard_Integer In } -Standard_Integer IntPolyh_Intersection::NbPointsInTangentZone(const Standard_Integer IndexLine) const { +Standard_Integer IntPolyh_Intersection::NbPointsInTangentZone(const Standard_Integer) const { //-- IndexLine--; (pas implemente) Attention : Tableaux de 0 a n-1 // eap // return(TTangentZones.NbTangentZones()); @@ -234,7 +234,7 @@ void IntPolyh_Intersection::GetLinePoint(const Standard_Integer Indexl, void IntPolyh_Intersection::GetTangentZonePoint(const Standard_Integer Indexz, - const Standard_Integer Indexp, + const Standard_Integer /*Indexp*/, Standard_Real &x, Standard_Real &y, Standard_Real &z, diff --git a/src/IntPolyh/IntPolyh_Triangle.cxx b/src/IntPolyh/IntPolyh_Triangle.cxx index 8d837aa9c7..fc0198fd1f 100755 --- a/src/IntPolyh/IntPolyh_Triangle.cxx +++ b/src/IntPolyh/IntPolyh_Triangle.cxx @@ -608,14 +608,14 @@ void OldEdge(const Standard_Integer EdgeN, //purpose : //======================================================================= void TestOldEdgeB(const Standard_Integer NumTA, - const Standard_Integer numPtT1, - const Standard_Integer numPtT2, - const Standard_Integer T1, - const Standard_Integer T2, - const IntPolyh_ArrayOfTriangles & TTriangles, - const Standard_Integer Edge1, - const Standard_Integer Edge3, - IntPolyh_ArrayOfEdges & TEdges ) + const Standard_Integer numPtT1, + const Standard_Integer /*numPtT2*/, + const Standard_Integer T1, + const Standard_Integer T2, + const IntPolyh_ArrayOfTriangles & /*TTriangles*/, + const Standard_Integer Edge1, + const Standard_Integer Edge3, + IntPolyh_ArrayOfEdges & TEdges ) { if( (TEdges[Edge1].FirstPoint() == numPtT1) diff --git a/src/Interface/Interface_FileReaderData.cxx b/src/Interface/Interface_FileReaderData.cxx index 808e4d2e2a..b824bf2a87 100755 --- a/src/Interface/Interface_FileReaderData.cxx +++ b/src/Interface/Interface_FileReaderData.cxx @@ -64,11 +64,10 @@ Interface_FileReaderData::Interface_FileReaderData (const Standard_Integer nbr, void Interface_FileReaderData::InitParams (const Standard_Integer num) { thenumpar.SetValue (num,theparams->NbParams()); - //thenbpar.SetValue (num,0); } void Interface_FileReaderData::AddParam - (const Standard_Integer num, + (const Standard_Integer /*num*/, const Standard_CString aval, const Interface_ParamType atype, const Standard_Integer nument) { @@ -79,7 +78,7 @@ Interface_FileReaderData::Interface_FileReaderData (const Standard_Integer nbr, } void Interface_FileReaderData::AddParam - (const Standard_Integer num, + (const Standard_Integer /*num*/, const TCollection_AsciiString& aval, const Interface_ParamType atype, const Standard_Integer nument) { @@ -90,7 +89,7 @@ Interface_FileReaderData::Interface_FileReaderData (const Standard_Integer nbr, } void Interface_FileReaderData::AddParam - (const Standard_Integer num, + (const Standard_Integer /*num*/, const Interface_FileParameter& FP) { theparams->Append(FP); diff --git a/src/Interface/Interface_Graph.cxx b/src/Interface/Interface_Graph.cxx index e6c55ffa65..b7ce88fbe5 100755 --- a/src/Interface/Interface_Graph.cxx +++ b/src/Interface/Interface_Graph.cxx @@ -39,7 +39,7 @@ Interface_Graph::Interface_Graph (const Handle(Interface_InterfaceModel)& amodel, - const Interface_GeneralLib& lib, + const Interface_GeneralLib& /*lib*/, Standard_Boolean theModeStat) : themodel (amodel), thepresents ("") { @@ -50,7 +50,7 @@ Interface_Graph::Interface_Graph Interface_Graph::Interface_Graph (const Handle(Interface_InterfaceModel)& amodel, - const Handle(Interface_Protocol)& protocol, + const Handle(Interface_Protocol)& /*protocol*/, Standard_Boolean theModeStat) : themodel (amodel) , thepresents ("") @@ -62,7 +62,7 @@ Interface_Graph::Interface_Graph Interface_Graph::Interface_Graph (const Handle(Interface_InterfaceModel)& amodel, - const Handle(Interface_GTool)& gtool, + const Handle(Interface_GTool)& /*gtool*/, Standard_Boolean theModeStat) : themodel (amodel) , thepresents ("") { diff --git a/src/Interface/Interface_IntList.cxx b/src/Interface/Interface_IntList.cxx index 689cdf2930..fb9e730c88 100755 --- a/src/Interface/Interface_IntList.cxx +++ b/src/Interface/Interface_IntList.cxx @@ -265,7 +265,7 @@ Standard_Integer Interface_IntList::Value (const Standard_Integer num) const return val; } -Standard_Boolean Interface_IntList::Remove (const Standard_Integer num) +Standard_Boolean Interface_IntList::Remove (const Standard_Integer) { return Standard_False; // not yet implemented } diff --git a/src/InterfaceGraphic/InterfaceGraphic_cPrintf.cxx b/src/InterfaceGraphic/InterfaceGraphic_cPrintf.cxx index 128087f85f..9592a40c46 100755 --- a/src/InterfaceGraphic/InterfaceGraphic_cPrintf.cxx +++ b/src/InterfaceGraphic/InterfaceGraphic_cPrintf.cxx @@ -82,7 +82,7 @@ int cPrintf ( char* fmt, ... ) { } /* end cPrintf */ -int fcPrintf ( int dummy, char* fmt, ... ) { +int fcPrintf ( int /*dummy*/, char* fmt, ... ) { static BOOL first = TRUE; static HANDLE hConsole = NULL; diff --git a/src/Intf/Intf_InterferencePolygonPolyhedron.gxx b/src/Intf/Intf_InterferencePolygonPolyhedron.gxx index 771014fffb..7041269868 100755 --- a/src/Intf/Intf_InterferencePolygonPolyhedron.gxx +++ b/src/Intf/Intf_InterferencePolygonPolyhedron.gxx @@ -1044,10 +1044,15 @@ void Intf_InterferencePolygonPolyhedron::Intersect #endif -void Intf_InterferencePolygonPolyhedron::Intersect - (const gp_Pnt& BegO, const gp_Pnt& EndO, const Standard_Boolean Infinite, - const Standard_Integer TTri, const Polyhedron& thePolyh, const gp_XYZ& TriNormal, - const Standard_Real TriDp, const Standard_Real dBegTri, const Standard_Real dEndTri) +void Intf_InterferencePolygonPolyhedron::Intersect (const gp_Pnt& BegO, + const gp_Pnt& EndO, + const Standard_Boolean Infinite, + const Standard_Integer TTri, + const Polyhedron& thePolyh, + const gp_XYZ& TriNormal, + const Standard_Real /*TriDp*/, + const Standard_Real dBegTri, + const Standard_Real dEndTri) { Intf_PIType typOnG=Intf_EDGE; Standard_Real t; diff --git a/src/Intf/Intf_TangentZone.cxx b/src/Intf/Intf_TangentZone.cxx index a34b86accf..38e94636fe 100755 --- a/src/Intf/Intf_TangentZone.cxx +++ b/src/Intf/Intf_TangentZone.cxx @@ -333,9 +333,7 @@ Standard_Boolean Intf_TangentZone::HasCommonRange //purpose : Dump the TangentZone. //======================================================================= -void Intf_TangentZone::Dump (const Standard_Integer - Indent - ) const +void Intf_TangentZone::Dump (const Standard_Integer /*Indent*/) const { #if DEBUG_TANGENTZONE for (Standard_Integer id=0; idDynamicType(); Handle(Geom2d_Curve) curve,CurveDraw; diff --git a/src/MAT2d/MAT2d_Tool2d.cxx b/src/MAT2d/MAT2d_Tool2d.cxx index 48771a753e..fb9e735b07 100755 --- a/src/MAT2d/MAT2d_Tool2d.cxx +++ b/src/MAT2d/MAT2d_Tool2d.cxx @@ -1215,7 +1215,7 @@ IntRes2d_Domain Domain(const Handle(Geom2d_TrimmedCurve)& Bisector1, // Indice = 4 vert. //========================================================================== void MAT2d_DrawCurve(const Handle(Geom2d_Curve)& aCurve, - const Standard_Integer Indice) + const Standard_Integer /*Indice*/) { Handle(Standard_Type) type = aCurve->DynamicType(); Handle(Geom2d_Curve) curve,CurveDraw; diff --git a/src/MDataStd/MDataStd_BooleanListStorageDriver.cxx b/src/MDataStd/MDataStd_BooleanListStorageDriver.cxx index f96330a832..6ee004e320 100755 --- a/src/MDataStd/MDataStd_BooleanListStorageDriver.cxx +++ b/src/MDataStd/MDataStd_BooleanListStorageDriver.cxx @@ -69,7 +69,7 @@ Handle(PDF_Attribute) MDataStd_BooleanListStorageDriver::NewEmpty() const //======================================================================= void MDataStd_BooleanListStorageDriver::Paste(const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, - const Handle(MDF_SRelocationTable)& RelocTable) const + const Handle(MDF_SRelocationTable)& /*RelocTable*/) const { Handle(TDataStd_BooleanList) S = Handle(TDataStd_BooleanList)::DownCast (Source); Handle(PDataStd_BooleanList) T = Handle(PDataStd_BooleanList)::DownCast (Target); diff --git a/src/MDataStd/MDataStd_DirectoryRetrievalDriver.cxx b/src/MDataStd/MDataStd_DirectoryRetrievalDriver.cxx index da4bdc12e5..4d7e4bcc3c 100755 --- a/src/MDataStd/MDataStd_DirectoryRetrievalDriver.cxx +++ b/src/MDataStd/MDataStd_DirectoryRetrievalDriver.cxx @@ -32,7 +32,9 @@ Handle(Standard_Type) MDataStd_DirectoryRetrievalDriver::SourceType() const Handle(TDF_Attribute) MDataStd_DirectoryRetrievalDriver::NewEmpty() const { return new TDataStd_Directory; } -void MDataStd_DirectoryRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,const Handle(TDF_Attribute)& Target,const Handle(MDF_RRelocationTable)& RelocTable) const +void MDataStd_DirectoryRetrievalDriver::Paste(const Handle(PDF_Attribute)&, + const Handle(TDF_Attribute)& , + const Handle(MDF_RRelocationTable)&) const { } diff --git a/src/MDataStd/MDataStd_ExtStringListStorageDriver.cxx b/src/MDataStd/MDataStd_ExtStringListStorageDriver.cxx index c8622c6773..30c34a1d1b 100755 --- a/src/MDataStd/MDataStd_ExtStringListStorageDriver.cxx +++ b/src/MDataStd/MDataStd_ExtStringListStorageDriver.cxx @@ -70,7 +70,7 @@ Handle(PDF_Attribute) MDataStd_ExtStringListStorageDriver::NewEmpty() const //======================================================================= void MDataStd_ExtStringListStorageDriver::Paste(const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, - const Handle(MDF_SRelocationTable)& RelocTable) const + const Handle(MDF_SRelocationTable)& /*RelocTable*/) const { Handle(TDataStd_ExtStringList) S = Handle(TDataStd_ExtStringList)::DownCast (Source); Handle(PDataStd_ExtStringList) T = Handle(PDataStd_ExtStringList)::DownCast (Target); diff --git a/src/MDataStd/MDataStd_IntegerArrayStorageDriver.cxx b/src/MDataStd/MDataStd_IntegerArrayStorageDriver.cxx index 32ce84ee8c..6b4db2b451 100755 --- a/src/MDataStd/MDataStd_IntegerArrayStorageDriver.cxx +++ b/src/MDataStd/MDataStd_IntegerArrayStorageDriver.cxx @@ -76,7 +76,7 @@ Handle(PDF_Attribute) MDataStd_IntegerArrayStorageDriver::NewEmpty () const { void MDataStd_IntegerArrayStorageDriver::Paste ( const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, - const Handle(MDF_SRelocationTable)& RelocTable) const + const Handle(MDF_SRelocationTable)& /*RelocTable*/) const { Handle(TDataStd_IntegerArray) S = Handle(TDataStd_IntegerArray)::DownCast (Source); Handle(PDataStd_IntegerArray_1) T = Handle(PDataStd_IntegerArray_1)::DownCast (Target); diff --git a/src/MDataStd/MDataStd_IntegerListStorageDriver.cxx b/src/MDataStd/MDataStd_IntegerListStorageDriver.cxx index e230e9a718..87af4588da 100755 --- a/src/MDataStd/MDataStd_IntegerListStorageDriver.cxx +++ b/src/MDataStd/MDataStd_IntegerListStorageDriver.cxx @@ -69,7 +69,7 @@ Handle(PDF_Attribute) MDataStd_IntegerListStorageDriver::NewEmpty() const //======================================================================= void MDataStd_IntegerListStorageDriver::Paste(const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, - const Handle(MDF_SRelocationTable)& RelocTable) const + const Handle(MDF_SRelocationTable)& /*RelocTable*/) const { Handle(TDataStd_IntegerList) S = Handle(TDataStd_IntegerList)::DownCast (Source); Handle(PDataStd_IntegerList) T = Handle(PDataStd_IntegerList)::DownCast (Target); diff --git a/src/MDataStd/MDataStd_NamedDataStorageDriver.cxx b/src/MDataStd/MDataStd_NamedDataStorageDriver.cxx index 9660689777..3cc11c0ea7 100755 --- a/src/MDataStd/MDataStd_NamedDataStorageDriver.cxx +++ b/src/MDataStd/MDataStd_NamedDataStorageDriver.cxx @@ -86,7 +86,7 @@ Handle(PDF_Attribute) MDataStd_NamedDataStorageDriver::NewEmpty() const //======================================================================= void MDataStd_NamedDataStorageDriver::Paste(const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, - const Handle(MDF_SRelocationTable)& RelocTable) const + const Handle(MDF_SRelocationTable)& /*RelocTable*/) const { Handle(TDataStd_NamedData) S = Handle(TDataStd_NamedData)::DownCast (Source); Handle(PDataStd_NamedData) T = Handle(PDataStd_NamedData)::DownCast (Target); diff --git a/src/MDataStd/MDataStd_RealArrayStorageDriver.cxx b/src/MDataStd/MDataStd_RealArrayStorageDriver.cxx index 5b94332f4e..bca2c1ff8c 100755 --- a/src/MDataStd/MDataStd_RealArrayStorageDriver.cxx +++ b/src/MDataStd/MDataStd_RealArrayStorageDriver.cxx @@ -75,7 +75,7 @@ Handle(PDF_Attribute) MDataStd_RealArrayStorageDriver::NewEmpty () const { void MDataStd_RealArrayStorageDriver::Paste ( const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, - const Handle(MDF_SRelocationTable)& RelocTable) const + const Handle(MDF_SRelocationTable)& /*RelocTable*/) const { Handle(TDataStd_RealArray) S = Handle(TDataStd_RealArray)::DownCast (Source); Handle(PDataStd_RealArray_1) T = Handle(PDataStd_RealArray_1)::DownCast (Target); diff --git a/src/MDataStd/MDataStd_RealListStorageDriver.cxx b/src/MDataStd/MDataStd_RealListStorageDriver.cxx index a51a2f82a0..9026587bf2 100755 --- a/src/MDataStd/MDataStd_RealListStorageDriver.cxx +++ b/src/MDataStd/MDataStd_RealListStorageDriver.cxx @@ -69,7 +69,7 @@ Handle(PDF_Attribute) MDataStd_RealListStorageDriver::NewEmpty() const //======================================================================= void MDataStd_RealListStorageDriver::Paste(const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, - const Handle(MDF_SRelocationTable)& RelocTable) const + const Handle(MDF_SRelocationTable)& /*RelocTable*/) const { Handle(TDataStd_RealList) S = Handle(TDataStd_RealList)::DownCast (Source); Handle(PDataStd_RealList) T = Handle(PDataStd_RealList)::DownCast (Target); diff --git a/src/MDataStd/MDataStd_ReferenceArrayStorageDriver.cxx b/src/MDataStd/MDataStd_ReferenceArrayStorageDriver.cxx index 85bfc1d172..7a9c3bc6cb 100755 --- a/src/MDataStd/MDataStd_ReferenceArrayStorageDriver.cxx +++ b/src/MDataStd/MDataStd_ReferenceArrayStorageDriver.cxx @@ -70,7 +70,7 @@ Handle(PDF_Attribute) MDataStd_ReferenceArrayStorageDriver::NewEmpty() const //======================================================================= void MDataStd_ReferenceArrayStorageDriver::Paste(const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, - const Handle(MDF_SRelocationTable)& RelocTable) const + const Handle(MDF_SRelocationTable)& /*RelocTable*/) const { Handle(TDataStd_ReferenceArray) S = Handle(TDataStd_ReferenceArray)::DownCast (Source); Handle(PDataStd_ReferenceArray) T = Handle(PDataStd_ReferenceArray)::DownCast (Target); diff --git a/src/MDataStd/MDataStd_ReferenceListStorageDriver.cxx b/src/MDataStd/MDataStd_ReferenceListStorageDriver.cxx index 7d9b990681..87659461ed 100755 --- a/src/MDataStd/MDataStd_ReferenceListStorageDriver.cxx +++ b/src/MDataStd/MDataStd_ReferenceListStorageDriver.cxx @@ -72,7 +72,7 @@ Handle(PDF_Attribute) MDataStd_ReferenceListStorageDriver::NewEmpty() const //======================================================================= void MDataStd_ReferenceListStorageDriver::Paste(const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, - const Handle(MDF_SRelocationTable)& RelocTable) const + const Handle(MDF_SRelocationTable)& /*RelocTable*/) const { Handle(TDataStd_ReferenceList) S = Handle(TDataStd_ReferenceList)::DownCast (Source); Handle(PDataStd_ReferenceList) T = Handle(PDataStd_ReferenceList)::DownCast (Target); diff --git a/src/MDataStd/MDataStd_UAttributeRetrievalDriver.cxx b/src/MDataStd/MDataStd_UAttributeRetrievalDriver.cxx index a24e082b09..5a571373ec 100755 --- a/src/MDataStd/MDataStd_UAttributeRetrievalDriver.cxx +++ b/src/MDataStd/MDataStd_UAttributeRetrievalDriver.cxx @@ -76,7 +76,7 @@ Handle(TDF_Attribute) MDataStd_UAttributeRetrievalDriver::NewEmpty () const { void MDataStd_UAttributeRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, - const Handle(MDF_RRelocationTable)& RelocTable) const + const Handle(MDF_RRelocationTable)& /*RelocTable*/) const { Handle(PDataStd_UAttribute) S = Handle(PDataStd_UAttribute)::DownCast (Source); Handle(TDataStd_UAttribute) T = Handle(TDataStd_UAttribute)::DownCast (Target); diff --git a/src/MDataXtd/MDataXtd_ShapeRetrievalDriver.cxx b/src/MDataXtd/MDataXtd_ShapeRetrievalDriver.cxx index 5d2ac6e257..464c1ceeea 100755 --- a/src/MDataXtd/MDataXtd_ShapeRetrievalDriver.cxx +++ b/src/MDataXtd/MDataXtd_ShapeRetrievalDriver.cxx @@ -32,7 +32,9 @@ Handle(Standard_Type) MDataXtd_ShapeRetrievalDriver::SourceType() const Handle(TDF_Attribute) MDataXtd_ShapeRetrievalDriver::NewEmpty() const { return new TDataXtd_Shape; } -void MDataXtd_ShapeRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,const Handle(TDF_Attribute)& Target,const Handle(MDF_RRelocationTable)& RelocTable) const +void MDataXtd_ShapeRetrievalDriver::Paste(const Handle(PDF_Attribute)& /*Source*/, + const Handle(TDF_Attribute)& /*Target*/, + const Handle(MDF_RRelocationTable)& /*RelocTable*/) const { } diff --git a/src/MPrsStd/MPrsStd_AISPresentationRetrievalDriver.cxx b/src/MPrsStd/MPrsStd_AISPresentationRetrievalDriver.cxx index e9d273752d..409ceda3e2 100755 --- a/src/MPrsStd/MPrsStd_AISPresentationRetrievalDriver.cxx +++ b/src/MPrsStd/MPrsStd_AISPresentationRetrievalDriver.cxx @@ -48,7 +48,9 @@ Handle(Standard_Type) MPrsStd_AISPresentationRetrievalDriver::SourceType() const Handle(TDF_Attribute) MPrsStd_AISPresentationRetrievalDriver::NewEmpty() const { return new TPrsStd_AISPresentation; } -void MPrsStd_AISPresentationRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source,const Handle(TDF_Attribute)& Target,const Handle(MDF_RRelocationTable)& RelocTable) const +void MPrsStd_AISPresentationRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source, + const Handle(TDF_Attribute)& Target, + const Handle(MDF_RRelocationTable)& /*RelocTable*/) const { Handle(PPrsStd_AISPresentation) S = Handle(PPrsStd_AISPresentation)::DownCast (Source); Handle(TPrsStd_AISPresentation) T = Handle(TPrsStd_AISPresentation)::DownCast (Target); diff --git a/src/MPrsStd/MPrsStd_AISPresentationRetrievalDriver_1.cxx b/src/MPrsStd/MPrsStd_AISPresentationRetrievalDriver_1.cxx index b770cde793..12e95515f5 100755 --- a/src/MPrsStd/MPrsStd_AISPresentationRetrievalDriver_1.cxx +++ b/src/MPrsStd/MPrsStd_AISPresentationRetrievalDriver_1.cxx @@ -48,7 +48,9 @@ Handle(Standard_Type) MPrsStd_AISPresentationRetrievalDriver_1::SourceType() con Handle(TDF_Attribute) MPrsStd_AISPresentationRetrievalDriver_1::NewEmpty() const { return new TPrsStd_AISPresentation; } -void MPrsStd_AISPresentationRetrievalDriver_1::Paste(const Handle(PDF_Attribute)& Source,const Handle(TDF_Attribute)& Target,const Handle(MDF_RRelocationTable)& RelocTable) const +void MPrsStd_AISPresentationRetrievalDriver_1::Paste(const Handle(PDF_Attribute)& Source, + const Handle(TDF_Attribute)& Target, + const Handle(MDF_RRelocationTable)& /*RelocTable*/) const { Handle(PPrsStd_AISPresentation_1) S = Handle(PPrsStd_AISPresentation_1)::DownCast (Source); Handle(TPrsStd_AISPresentation) T = Handle(TPrsStd_AISPresentation)::DownCast (Target); diff --git a/src/MPrsStd/MPrsStd_AISPresentationStorageDriver.cxx b/src/MPrsStd/MPrsStd_AISPresentationStorageDriver.cxx index 7161f7906c..272c80e159 100755 --- a/src/MPrsStd/MPrsStd_AISPresentationStorageDriver.cxx +++ b/src/MPrsStd/MPrsStd_AISPresentationStorageDriver.cxx @@ -56,7 +56,7 @@ Handle(PDF_Attribute) MPrsStd_AISPresentationStorageDriver::NewEmpty() const void MPrsStd_AISPresentationStorageDriver::Paste(const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, - const Handle(MDF_SRelocationTable)& RelocTable) const + const Handle(MDF_SRelocationTable)& /*RelocTable*/) const { Handle(TPrsStd_AISPresentation) S = Handle(TPrsStd_AISPresentation)::DownCast (Source); diff --git a/src/MPrsStd/MPrsStd_PositionRetrievalDriver.cxx b/src/MPrsStd/MPrsStd_PositionRetrievalDriver.cxx index a62863c690..b9933aa22e 100755 --- a/src/MPrsStd/MPrsStd_PositionRetrievalDriver.cxx +++ b/src/MPrsStd/MPrsStd_PositionRetrievalDriver.cxx @@ -60,7 +60,7 @@ Handle(TDF_Attribute) MPrsStd_PositionRetrievalDriver::NewEmpty() const //======================================================================= void MPrsStd_PositionRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, - const Handle(MDF_RRelocationTable)& RelocTable) const + const Handle(MDF_RRelocationTable)& /*RelocTable*/) const { Handle(PDataXtd_Position) S = Handle(PDataXtd_Position)::DownCast (Source); Handle(TDataXtd_Position) T = Handle(TDataXtd_Position)::DownCast (Target); diff --git a/src/MPrsStd/MPrsStd_PositionStorageDriver.cxx b/src/MPrsStd/MPrsStd_PositionStorageDriver.cxx index 8ec9ca7774..83dfc4e6b8 100755 --- a/src/MPrsStd/MPrsStd_PositionStorageDriver.cxx +++ b/src/MPrsStd/MPrsStd_PositionStorageDriver.cxx @@ -61,7 +61,7 @@ Handle(PDF_Attribute) MPrsStd_PositionStorageDriver::NewEmpty() const //======================================================================= void MPrsStd_PositionStorageDriver::Paste(const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, - const Handle(MDF_SRelocationTable)& RelocTable) const + const Handle(MDF_SRelocationTable)& /*RelocTable*/) const { Handle(TDataXtd_Position) S = Handle(TDataXtd_Position)::DownCast (Source); Handle(PDataXtd_Position) T = Handle(PDataXtd_Position)::DownCast (Target); diff --git a/src/MXCAFDoc/MXCAFDoc_AreaRetrievalDriver.cxx b/src/MXCAFDoc/MXCAFDoc_AreaRetrievalDriver.cxx index b71172d457..73aab9def2 100755 --- a/src/MXCAFDoc/MXCAFDoc_AreaRetrievalDriver.cxx +++ b/src/MXCAFDoc/MXCAFDoc_AreaRetrievalDriver.cxx @@ -67,7 +67,7 @@ Standard_Integer MXCAFDoc_AreaRetrievalDriver::VersionNumber() const void MXCAFDoc_AreaRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, - const Handle(MDF_RRelocationTable)& RelocTable) const + const Handle(MDF_RRelocationTable)& /*RelocTable*/) const { Handle(PXCAFDoc_Area) S = Handle(PXCAFDoc_Area)::DownCast (Source); Handle(XCAFDoc_Area) T = Handle(XCAFDoc_Area)::DownCast (Target); diff --git a/src/MXCAFDoc/MXCAFDoc_AreaStorageDriver.cxx b/src/MXCAFDoc/MXCAFDoc_AreaStorageDriver.cxx index 1c657152d4..11b632463e 100755 --- a/src/MXCAFDoc/MXCAFDoc_AreaStorageDriver.cxx +++ b/src/MXCAFDoc/MXCAFDoc_AreaStorageDriver.cxx @@ -67,7 +67,7 @@ Standard_Integer MXCAFDoc_AreaStorageDriver::VersionNumber() const void MXCAFDoc_AreaStorageDriver::Paste(const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, - const Handle(MDF_SRelocationTable)& RelocTable) const + const Handle(MDF_SRelocationTable)& /*RelocTable*/) const { Handle(XCAFDoc_Area) S = Handle(XCAFDoc_Area)::DownCast (Source); Handle(PXCAFDoc_Area) T = Handle(PXCAFDoc_Area)::DownCast (Target); diff --git a/src/MXCAFDoc/MXCAFDoc_CentroidRetrievalDriver.cxx b/src/MXCAFDoc/MXCAFDoc_CentroidRetrievalDriver.cxx index 9f9f271fcb..f3a1488440 100755 --- a/src/MXCAFDoc/MXCAFDoc_CentroidRetrievalDriver.cxx +++ b/src/MXCAFDoc/MXCAFDoc_CentroidRetrievalDriver.cxx @@ -72,7 +72,7 @@ MXCAFDoc_CentroidRetrievalDriver::MXCAFDoc_CentroidRetrievalDriver(const Handle( void MXCAFDoc_CentroidRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, - const Handle(MDF_RRelocationTable)& RelocTable) const + const Handle(MDF_RRelocationTable)& /*RelocTable*/) const { Handle(PXCAFDoc_Centroid) S = Handle(PXCAFDoc_Centroid)::DownCast (Source); Handle(XCAFDoc_Centroid) T = Handle(XCAFDoc_Centroid)::DownCast (Target); diff --git a/src/MXCAFDoc/MXCAFDoc_CentroidStorageDriver.cxx b/src/MXCAFDoc/MXCAFDoc_CentroidStorageDriver.cxx index 5fe2c69838..bb20f3871e 100755 --- a/src/MXCAFDoc/MXCAFDoc_CentroidStorageDriver.cxx +++ b/src/MXCAFDoc/MXCAFDoc_CentroidStorageDriver.cxx @@ -69,8 +69,8 @@ MXCAFDoc_CentroidStorageDriver::MXCAFDoc_CentroidStorageDriver(const Handle(CDM_ //======================================================================= void MXCAFDoc_CentroidStorageDriver::Paste(const Handle(TDF_Attribute)& Source, - const Handle(PDF_Attribute)& Target, - const Handle(MDF_SRelocationTable)& RelocTable) const + const Handle(PDF_Attribute)& Target, + const Handle(MDF_SRelocationTable)& /*RelocTable*/) const { Handle(XCAFDoc_Centroid) S = Handle(XCAFDoc_Centroid)::DownCast (Source); Handle(PXCAFDoc_Centroid) T = Handle(PXCAFDoc_Centroid)::DownCast (Target); diff --git a/src/MXCAFDoc/MXCAFDoc_DatumRetrievalDriver.cxx b/src/MXCAFDoc/MXCAFDoc_DatumRetrievalDriver.cxx index 93d0633432..eb95379028 100755 --- a/src/MXCAFDoc/MXCAFDoc_DatumRetrievalDriver.cxx +++ b/src/MXCAFDoc/MXCAFDoc_DatumRetrievalDriver.cxx @@ -71,7 +71,7 @@ Handle(TDF_Attribute) MXCAFDoc_DatumRetrievalDriver::NewEmpty() const void MXCAFDoc_DatumRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, - const Handle(MDF_RRelocationTable)& RelocTable) const + const Handle(MDF_RRelocationTable)& /*RelocTable*/) const { Handle(PXCAFDoc_Datum) S = Handle(PXCAFDoc_Datum)::DownCast (Source); Handle(XCAFDoc_Datum) T = Handle(XCAFDoc_Datum)::DownCast (Target); diff --git a/src/MXCAFDoc/MXCAFDoc_DatumStorageDriver.cxx b/src/MXCAFDoc/MXCAFDoc_DatumStorageDriver.cxx index 7c82c78e1b..61889b2419 100755 --- a/src/MXCAFDoc/MXCAFDoc_DatumStorageDriver.cxx +++ b/src/MXCAFDoc/MXCAFDoc_DatumStorageDriver.cxx @@ -69,8 +69,8 @@ Handle(PDF_Attribute) MXCAFDoc_DatumStorageDriver::NewEmpty() const //======================================================================= void MXCAFDoc_DatumStorageDriver::Paste(const Handle(TDF_Attribute)& Source, - const Handle(PDF_Attribute)& Target, - const Handle(MDF_SRelocationTable)& RelocTable) const + const Handle(PDF_Attribute)& Target, + const Handle(MDF_SRelocationTable)& /*RelocTable*/) const { Handle(XCAFDoc_Datum) S = Handle(XCAFDoc_Datum)::DownCast (Source); Handle(PXCAFDoc_Datum) T = Handle(PXCAFDoc_Datum)::DownCast (Target); diff --git a/src/MXCAFDoc/MXCAFDoc_DimTolRetrievalDriver.cxx b/src/MXCAFDoc/MXCAFDoc_DimTolRetrievalDriver.cxx index f32dc3fdc8..144b115495 100755 --- a/src/MXCAFDoc/MXCAFDoc_DimTolRetrievalDriver.cxx +++ b/src/MXCAFDoc/MXCAFDoc_DimTolRetrievalDriver.cxx @@ -73,7 +73,7 @@ Handle(TDF_Attribute) MXCAFDoc_DimTolRetrievalDriver::NewEmpty() const void MXCAFDoc_DimTolRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, - const Handle(MDF_RRelocationTable)& RelocTable) const + const Handle(MDF_RRelocationTable)& /*RelocTable*/) const { Handle(PXCAFDoc_DimTol) S = Handle(PXCAFDoc_DimTol)::DownCast (Source); Handle(XCAFDoc_DimTol) T = Handle(XCAFDoc_DimTol)::DownCast (Target); diff --git a/src/MXCAFDoc/MXCAFDoc_DimTolStorageDriver.cxx b/src/MXCAFDoc/MXCAFDoc_DimTolStorageDriver.cxx index 89d93dc441..1c56a20e20 100755 --- a/src/MXCAFDoc/MXCAFDoc_DimTolStorageDriver.cxx +++ b/src/MXCAFDoc/MXCAFDoc_DimTolStorageDriver.cxx @@ -72,7 +72,7 @@ Handle(PDF_Attribute) MXCAFDoc_DimTolStorageDriver::NewEmpty() const void MXCAFDoc_DimTolStorageDriver::Paste(const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, - const Handle(MDF_SRelocationTable)& RelocTable) const + const Handle(MDF_SRelocationTable)& /*RelocTable*/) const { Handle(XCAFDoc_DimTol) S = Handle(XCAFDoc_DimTol)::DownCast (Source); Handle(PXCAFDoc_DimTol) T = Handle(PXCAFDoc_DimTol)::DownCast (Target); diff --git a/src/MXCAFDoc/MXCAFDoc_MaterialRetrievalDriver.cxx b/src/MXCAFDoc/MXCAFDoc_MaterialRetrievalDriver.cxx index a2e0f58330..2b539f3b66 100755 --- a/src/MXCAFDoc/MXCAFDoc_MaterialRetrievalDriver.cxx +++ b/src/MXCAFDoc/MXCAFDoc_MaterialRetrievalDriver.cxx @@ -71,7 +71,7 @@ Handle(TDF_Attribute) MXCAFDoc_MaterialRetrievalDriver::NewEmpty() const void MXCAFDoc_MaterialRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, - const Handle(MDF_RRelocationTable)& RelocTable) const + const Handle(MDF_RRelocationTable)& /*RelocTable*/) const { Handle(PXCAFDoc_Material) S = Handle(PXCAFDoc_Material)::DownCast (Source); Handle(XCAFDoc_Material) T = Handle(XCAFDoc_Material)::DownCast (Target); diff --git a/src/MXCAFDoc/MXCAFDoc_MaterialStorageDriver.cxx b/src/MXCAFDoc/MXCAFDoc_MaterialStorageDriver.cxx index a4ab5c4f2c..2d31a3fc1b 100755 --- a/src/MXCAFDoc/MXCAFDoc_MaterialStorageDriver.cxx +++ b/src/MXCAFDoc/MXCAFDoc_MaterialStorageDriver.cxx @@ -72,7 +72,7 @@ Handle(PDF_Attribute) MXCAFDoc_MaterialStorageDriver::NewEmpty() const void MXCAFDoc_MaterialStorageDriver::Paste(const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, - const Handle(MDF_SRelocationTable)& RelocTable) const + const Handle(MDF_SRelocationTable)& /*RelocTable*/) const { Handle(XCAFDoc_Material) S = Handle(XCAFDoc_Material)::DownCast (Source); Handle(PXCAFDoc_Material) T = Handle(PXCAFDoc_Material)::DownCast (Target); diff --git a/src/MXCAFDoc/MXCAFDoc_VolumeRetrievalDriver.cxx b/src/MXCAFDoc/MXCAFDoc_VolumeRetrievalDriver.cxx index 2444b04269..7c7b57b59b 100755 --- a/src/MXCAFDoc/MXCAFDoc_VolumeRetrievalDriver.cxx +++ b/src/MXCAFDoc/MXCAFDoc_VolumeRetrievalDriver.cxx @@ -66,7 +66,7 @@ Standard_Integer MXCAFDoc_VolumeRetrievalDriver::VersionNumber() const void MXCAFDoc_VolumeRetrievalDriver::Paste(const Handle(PDF_Attribute)& Source, const Handle(TDF_Attribute)& Target, - const Handle(MDF_RRelocationTable)& RelocTable) const + const Handle(MDF_RRelocationTable)& /*RelocTable*/) const { Handle(PXCAFDoc_Volume) S = Handle(PXCAFDoc_Volume)::DownCast (Source); Handle(XCAFDoc_Volume) T = Handle(XCAFDoc_Volume)::DownCast (Target); diff --git a/src/MXCAFDoc/MXCAFDoc_VolumeStorageDriver.cxx b/src/MXCAFDoc/MXCAFDoc_VolumeStorageDriver.cxx index dd180ccff1..692fafa666 100755 --- a/src/MXCAFDoc/MXCAFDoc_VolumeStorageDriver.cxx +++ b/src/MXCAFDoc/MXCAFDoc_VolumeStorageDriver.cxx @@ -67,7 +67,7 @@ Standard_Integer MXCAFDoc_VolumeStorageDriver::VersionNumber() const void MXCAFDoc_VolumeStorageDriver::Paste(const Handle(TDF_Attribute)& Source, const Handle(PDF_Attribute)& Target, - const Handle(MDF_SRelocationTable)& RelocTable) const + const Handle(MDF_SRelocationTable)& /*RelocTable*/) const { Handle(XCAFDoc_Volume) S = Handle(XCAFDoc_Volume)::DownCast (Source); Handle(PXCAFDoc_Volume) T = Handle(PXCAFDoc_Volume)::DownCast (Target); diff --git a/src/MeshTest/MeshTest.cxx b/src/MeshTest/MeshTest.cxx index d1af84b07b..c1a5b02409 100755 --- a/src/MeshTest/MeshTest.cxx +++ b/src/MeshTest/MeshTest.cxx @@ -251,7 +251,7 @@ static Standard_Integer incrementalmesh(Draw_Interpretor& di, Standard_Integer n //purpose : //======================================================================= -static Standard_Integer MemLeakTest(Draw_Interpretor&, Standard_Integer nbarg, const char** argv) +static Standard_Integer MemLeakTest(Draw_Interpretor&, Standard_Integer /*nbarg*/, const char** /*argv*/) { for(int i=0;i<10000;i++) { @@ -1388,7 +1388,7 @@ static Standard_Integer wavefront(Draw_Interpretor&, Standard_Integer nbarg, con //purpose : //======================================================================= -Standard_Integer onetriangulation(Draw_Interpretor&, Standard_Integer nbarg, const char** argv) +Standard_Integer onetriangulation(Draw_Interpretor&, Standard_Integer /*nbarg*/, const char** /*argv*/) { /* diff --git a/src/MeshTest/MeshTest_DrawableMesh.cxx b/src/MeshTest/MeshTest_DrawableMesh.cxx index 50c68ef076..bf1ed2765a 100755 --- a/src/MeshTest/MeshTest_DrawableMesh.cxx +++ b/src/MeshTest/MeshTest_DrawableMesh.cxx @@ -106,7 +106,7 @@ void MeshTest_DrawableMesh::AddInShape(const Standard_Boolean inshape) //purpose : //======================================================================= -void MeshTest_DrawableMesh::DrawOn(Draw_Display& D) const +void MeshTest_DrawableMesh::DrawOn(Draw_Display& /*D*/) const { // should be reimplemented!! /* Handle(BRepMesh_DataStructureOfDelaun) struc = myMesh->Result(); @@ -214,7 +214,7 @@ static void printdegree(BRepMesh_DegreeOfFreedom dof) } } -void MeshTest_DrawableMesh::Dump(Standard_OStream& S) const +void MeshTest_DrawableMesh::Dump(Standard_OStream&) const { // Should be reimplemented diff --git a/src/MeshTest/MeshTest_PluginCommands.cxx b/src/MeshTest/MeshTest_PluginCommands.cxx index 99b22e45aa..6123775e15 100755 --- a/src/MeshTest/MeshTest_PluginCommands.cxx +++ b/src/MeshTest/MeshTest_PluginCommands.cxx @@ -523,7 +523,7 @@ static Standard_Integer tricheck (Draw_Interpretor& di, int n, const char ** a) //function : mpparallel //purpose : //======================================================================= -static int mpparallel (Draw_Interpretor& di, Standard_Integer argc, const char** argv) +static int mpparallel (Draw_Interpretor& /*di*/, Standard_Integer argc, const char** argv) { if (argc == 2) { diff --git a/src/MoniTool/MoniTool_SignShape.cxx b/src/MoniTool/MoniTool_SignShape.cxx index 62a23a887c..c046115fba 100755 --- a/src/MoniTool/MoniTool_SignShape.cxx +++ b/src/MoniTool/MoniTool_SignShape.cxx @@ -27,7 +27,7 @@ MoniTool_SignShape::MoniTool_SignShape () { } TCollection_AsciiString MoniTool_SignShape::Text (const Handle(Standard_Transient)& ent, - const Handle(Standard_Transient)& context) const + const Handle(Standard_Transient)& /*context*/) const { if (ent.IsNull()) return ""; Handle(TopoDS_HShape) HS = Handle(TopoDS_HShape)::DownCast(ent); diff --git a/src/NIS/NIS_InteractiveObject.cxx b/src/NIS/NIS_InteractiveObject.cxx index d6ee809885..793e1ae0a6 100755 --- a/src/NIS/NIS_InteractiveObject.cxx +++ b/src/NIS/NIS_InteractiveObject.cxx @@ -202,9 +202,9 @@ Standard_Boolean NIS_InteractiveObject::Intersect (const Bnd_B3f&, //======================================================================= Standard_Boolean NIS_InteractiveObject::Intersect - (const NCollection_List &thePolygon, - const gp_Trsf &theTrf, - const Standard_Boolean isFull) const + (const NCollection_List& , + const gp_Trsf& , + const Standard_Boolean ) const { return Standard_True; } diff --git a/src/NLPlate/NLPlate_HGPPConstraint.cxx b/src/NLPlate/NLPlate_HGPPConstraint.cxx index 5c1add103d..f4304ad129 100755 --- a/src/NLPlate/NLPlate_HGPPConstraint.cxx +++ b/src/NLPlate/NLPlate_HGPPConstraint.cxx @@ -23,11 +23,11 @@ #include -void NLPlate_HGPPConstraint::SetUVFreeSliding(const Standard_Boolean UVFree) +void NLPlate_HGPPConstraint::SetUVFreeSliding(const Standard_Boolean) { } - void NLPlate_HGPPConstraint::SetIncrementalLoadAllowed(const Standard_Boolean ILA) + void NLPlate_HGPPConstraint::SetIncrementalLoadAllowed(const Standard_Boolean ) { } @@ -40,23 +40,23 @@ void NLPlate_HGPPConstraint::SetUVFreeSliding(const Standard_Boolean UVFree) { myUV = UV; } - void NLPlate_HGPPConstraint::SetOrientation(const Standard_Integer Orient) + void NLPlate_HGPPConstraint::SetOrientation(const Standard_Integer /*Orient*/) { } - void NLPlate_HGPPConstraint::SetG0Criterion(const Standard_Real TolDist) + void NLPlate_HGPPConstraint::SetG0Criterion(const Standard_Real /*TolDist*/) { } - void NLPlate_HGPPConstraint::SetG1Criterion(const Standard_Real TolAng) + void NLPlate_HGPPConstraint::SetG1Criterion(const Standard_Real /*TolAng*/) { } - void NLPlate_HGPPConstraint::SetG2Criterion(const Standard_Real TolCurv) + void NLPlate_HGPPConstraint::SetG2Criterion(const Standard_Real /*TolCurv*/) { } - void NLPlate_HGPPConstraint::SetG3Criterion(const Standard_Real TolG3) + void NLPlate_HGPPConstraint::SetG3Criterion(const Standard_Real /*TolG3*/) { } diff --git a/src/NLPlate/NLPlate_NLPlate.cxx b/src/NLPlate/NLPlate_NLPlate.cxx index af48183e47..7c6aaec05e 100755 --- a/src/NLPlate/NLPlate_NLPlate.cxx +++ b/src/NLPlate/NLPlate_NLPlate.cxx @@ -99,7 +99,7 @@ NLPlate_NLPlate::NLPlate_NLPlate(const Handle(Geom_Surface)& InitialSurface) : //function : IncrementalSolve //purpose : //======================================================================= - void NLPlate_NLPlate::IncrementalSolve(const Standard_Integer ord, const Standard_Integer InitialConsraintOrder, + void NLPlate_NLPlate::IncrementalSolve(const Standard_Integer ord, const Standard_Integer /*InitialConsraintOrder*/, const Standard_Integer NbIncrements, const Standard_Boolean UVSliding) { Standard_Integer maxOrder = MaxActiveConstraintOrder(); diff --git a/src/OSD/OSD_DirectoryIterator.cxx b/src/OSD/OSD_DirectoryIterator.cxx index 7a254565d0..b31ce60fc3 100755 --- a/src/OSD/OSD_DirectoryIterator.cxx +++ b/src/OSD/OSD_DirectoryIterator.cxx @@ -327,7 +327,7 @@ Standard_Integer OSD_DirectoryIterator :: Error () const { OSD_DirectoryIterator::OSD_DirectoryIterator() {} void OSD_DirectoryIterator::Initialize( - const OSD_Path& /*where*/, - const TCollection_AsciiString& /*Mask*/){} + const OSD_Path&, + const TCollection_AsciiString&){} #endif diff --git a/src/OSD/OSD_FileIterator.cxx b/src/OSD/OSD_FileIterator.cxx index a36a7b76eb..15a499bc93 100755 --- a/src/OSD/OSD_FileIterator.cxx +++ b/src/OSD/OSD_FileIterator.cxx @@ -411,7 +411,7 @@ Standard_Integer OSD_FileIterator :: Error () const { OSD_FileIterator::OSD_FileIterator() {} void OSD_FileIterator::Initialize( - const OSD_Path& /*where*/, - const TCollection_AsciiString& /*Mask*/){} + const OSD_Path&, + const TCollection_AsciiString&){} #endif diff --git a/src/OpenGl/OpenGl_AspectLine.cxx b/src/OpenGl/OpenGl_AspectLine.cxx index cdbb7e6949..77f7e30366 100644 --- a/src/OpenGl/OpenGl_AspectLine.cxx +++ b/src/OpenGl/OpenGl_AspectLine.cxx @@ -57,7 +57,7 @@ void OpenGl_AspectLine::Render (const Handle(OpenGl_Workspace) &theWorkspace) co theWorkspace->SetAspectLine (this); } -void OpenGl_AspectLine::Release (const Handle(OpenGl_Context)& theContext) +void OpenGl_AspectLine::Release (const Handle(OpenGl_Context)&) { // } diff --git a/src/OpenGl/OpenGl_AspectMarker.cxx b/src/OpenGl/OpenGl_AspectMarker.cxx index 8f7ddee240..a53e7148fd 100644 --- a/src/OpenGl/OpenGl_AspectMarker.cxx +++ b/src/OpenGl/OpenGl_AspectMarker.cxx @@ -49,7 +49,7 @@ void OpenGl_AspectMarker::Render (const Handle(OpenGl_Workspace)& theWorkspace) theWorkspace->SetAspectMarker(this); } -void OpenGl_AspectMarker::Release (const Handle(OpenGl_Context)& theContext) +void OpenGl_AspectMarker::Release (const Handle(OpenGl_Context)&) { // } diff --git a/src/OpenGl/OpenGl_AspectText.cxx b/src/OpenGl/OpenGl_AspectText.cxx index 57def3b099..ea917c39c2 100644 --- a/src/OpenGl/OpenGl_AspectText.cxx +++ b/src/OpenGl/OpenGl_AspectText.cxx @@ -86,7 +86,7 @@ void OpenGl_AspectText::Render (const Handle(OpenGl_Workspace)& theWorkspace) co // function : Release // purpose : // ======================================================================= -void OpenGl_AspectText::Release (const Handle(OpenGl_Context)& theContext) +void OpenGl_AspectText::Release (const Handle(OpenGl_Context)&) { // } diff --git a/src/OpenGl/OpenGl_Display.cxx b/src/OpenGl/OpenGl_Display.cxx index 57be18606f..b67312281b 100644 --- a/src/OpenGl/OpenGl_Display.cxx +++ b/src/OpenGl/OpenGl_Display.cxx @@ -47,8 +47,11 @@ namespace }; /*----------------------------------------------------------------------*/ - +#if (defined(_WIN32) || defined(__WIN32__)) || (defined(__APPLE__) && !defined(MACOSX_USE_GLX)) +OpenGl_Display::OpenGl_Display (const Handle(Aspect_DisplayConnection)& ) +#else OpenGl_Display::OpenGl_Display (const Handle(Aspect_DisplayConnection)& theDisplayConnection) +#endif : myDisplay(NULL), myFacilities(myDefaultFacilities), myDBuffer(Standard_True), diff --git a/src/OpenGl/OpenGl_GraphicDriver.cxx b/src/OpenGl/OpenGl_GraphicDriver.cxx index 71e1d30657..74e8d3b8ea 100755 --- a/src/OpenGl/OpenGl_GraphicDriver.cxx +++ b/src/OpenGl/OpenGl_GraphicDriver.cxx @@ -204,8 +204,8 @@ void OpenGl_GraphicDriver::EndAddMode() // purpose : // ======================================================================= Standard_Boolean OpenGl_GraphicDriver::BeginImmediatMode (const Graphic3d_CView& theCView, - const Aspect_CLayer2d& theCUnderLayer, - const Aspect_CLayer2d& theCOverLayer, + const Aspect_CLayer2d& /*theCUnderLayer*/, + const Aspect_CLayer2d& /*theCOverLayer*/, const Standard_Boolean theDoubleBuffer, const Standard_Boolean theRetainMode) { diff --git a/src/OpenGl/OpenGl_GraphicDriver_7.cxx b/src/OpenGl/OpenGl_GraphicDriver_7.cxx index d48436d17e..39cbeed44c 100755 --- a/src/OpenGl/OpenGl_GraphicDriver_7.cxx +++ b/src/OpenGl/OpenGl_GraphicDriver_7.cxx @@ -158,7 +158,7 @@ Standard_Boolean OpenGl_GraphicDriver::ProjectRaster (const Graphic3d_CView& ACV return Standard_False; } -Standard_Boolean OpenGl_GraphicDriver::UnProjectRaster (const Graphic3d_CView& ACView, const Standard_Integer Axm, const Standard_Integer Aym, const Standard_Integer AXM, const Standard_Integer AYM, const Standard_Integer AU, const Standard_Integer AV, Standard_ShortReal& Ax, Standard_ShortReal& Ay, Standard_ShortReal& Az) +Standard_Boolean OpenGl_GraphicDriver::UnProjectRaster (const Graphic3d_CView& ACView, const Standard_Integer /*Axm*/, const Standard_Integer Aym, const Standard_Integer /*AXM*/, const Standard_Integer AYM, const Standard_Integer AU, const Standard_Integer AV, Standard_ShortReal& Ax, Standard_ShortReal& Ay, Standard_ShortReal& Az) { const OpenGl_CView *aCView = (const OpenGl_CView *)ACView.ptrView; if (!aCView) @@ -175,7 +175,7 @@ Standard_Boolean OpenGl_GraphicDriver::UnProjectRaster (const Graphic3d_CView& A return aCView->View->ProjectRasterToObject( aWidth, aHeight, AU, (AYM-1)-Aym-AV, Ax, Ay, Az ); } -Standard_Boolean OpenGl_GraphicDriver::UnProjectRasterWithRay (const Graphic3d_CView& ACView, const Standard_Integer Axm, const Standard_Integer Aym, const Standard_Integer AXM, const Standard_Integer AYM, const Standard_Integer AU, const Standard_Integer AV, Standard_ShortReal& Ax, Standard_ShortReal& Ay, Standard_ShortReal& Az, Standard_ShortReal& Dx, Standard_ShortReal& Dy, Standard_ShortReal& Dz) +Standard_Boolean OpenGl_GraphicDriver::UnProjectRasterWithRay (const Graphic3d_CView& ACView, const Standard_Integer /*Axm*/, const Standard_Integer Aym, const Standard_Integer /*AXM*/, const Standard_Integer AYM, const Standard_Integer AU, const Standard_Integer AV, Standard_ShortReal& Ax, Standard_ShortReal& Ay, Standard_ShortReal& Az, Standard_ShortReal& Dx, Standard_ShortReal& Dy, Standard_ShortReal& Dz) { const OpenGl_CView *aCView = (const OpenGl_CView *)ACView.ptrView; if (!aCView) @@ -194,7 +194,13 @@ void OpenGl_GraphicDriver::RatioWindow (const Graphic3d_CView& theCView) aCView->WS->Resize (theCView.DefWindow); } -void OpenGl_GraphicDriver::Redraw (const Graphic3d_CView& ACView, const Aspect_CLayer2d& ACUnderLayer, const Aspect_CLayer2d& ACOverLayer, const Standard_Integer x, const Standard_Integer y, const Standard_Integer width, const Standard_Integer height) +void OpenGl_GraphicDriver::Redraw (const Graphic3d_CView& ACView, + const Aspect_CLayer2d& ACUnderLayer, + const Aspect_CLayer2d& ACOverLayer, + const Standard_Integer /*x*/, + const Standard_Integer /*y*/, + const Standard_Integer /*width*/, + const Standard_Integer /*height*/) { const OpenGl_CView *aCView = (const OpenGl_CView *)ACView.ptrView; if (aCView) diff --git a/src/OpenGl/OpenGl_GraphicDriver_713.cxx b/src/OpenGl/OpenGl_GraphicDriver_713.cxx index d3b26cfff3..4e7b43e7e0 100755 --- a/src/OpenGl/OpenGl_GraphicDriver_713.cxx +++ b/src/OpenGl/OpenGl_GraphicDriver_713.cxx @@ -69,7 +69,7 @@ Standard_Boolean OpenGl_GraphicDriver::IsGLLightEnabled( const Graphic3d_CView& void OpenGl_GraphicDriver::PrimitiveArray( const Graphic3d_CGroup& ACGroup, const Graphic3d_PrimitiveArray& parray, - const Standard_Boolean EvalMinMax ) + const Standard_Boolean /*EvalMinMax*/ ) { if ( ACGroup.ptrGroup && parray ) { diff --git a/src/OpenGl/OpenGl_GraphicDriver_Export.cxx b/src/OpenGl/OpenGl_GraphicDriver_Export.cxx index 6b9b7387a3..083333eb5a 100755 --- a/src/OpenGl/OpenGl_GraphicDriver_Export.cxx +++ b/src/OpenGl/OpenGl_GraphicDriver_Export.cxx @@ -33,6 +33,7 @@ /* Print Methods */ /************************************************************************/ +#ifdef HAVE_GL2PS Standard_Boolean OpenGl_GraphicDriver::Export (const Standard_CString theFileName, const Graphic3d_ExportFormat theFormat, const Graphic3d_SortType theSortType, @@ -41,11 +42,10 @@ Standard_Boolean OpenGl_GraphicDriver::Export (const Standard_CString theFileNam const Graphic3d_CView& theView, const Aspect_CLayer2d& theLayerUnder, const Aspect_CLayer2d& theLayerOver, - const Standard_Real /*thePrecision*/, - const Standard_Address /*theProgressBarFunc*/, - const Standard_Address /*theProgressObject*/) + const Standard_Real thePrecision, + const Standard_Address theProgressBarFunc, + const Standard_Address theProgressObject) { -#ifdef HAVE_GL2PS // gl2psBeginPage() will call OpenGL functions // so we should activate correct GL context before redraw scene call const OpenGl_CView* aCView = (const OpenGl_CView* )theView.ptrView; @@ -133,9 +133,21 @@ Standard_Boolean OpenGl_GraphicDriver::Export (const Standard_CString theFileNam else break; } - return anErrCode == GL2PS_SUCCESS; +} #else - return Standard_False; -#endif +Standard_Boolean OpenGl_GraphicDriver::Export (const Standard_CString /*theFileName*/, + const Graphic3d_ExportFormat /*theFormat*/, + const Graphic3d_SortType /*theSortType*/, + const Standard_Integer /*theWidth*/, + const Standard_Integer /*theHeight*/, + const Graphic3d_CView& /*theView*/, + const Aspect_CLayer2d& /*theLayerUnder*/, + const Aspect_CLayer2d& /*theLayerOver*/, + const Standard_Real /*thePrecision*/, + const Standard_Address /*theProgressBarFunc*/, + const Standard_Address /*theProgressObject*/) +{ + return Standard_False; } +#endif \ No newline at end of file diff --git a/src/OpenGl/OpenGl_Marker.cxx b/src/OpenGl/OpenGl_Marker.cxx index b8abc8092b..06314694a0 100644 --- a/src/OpenGl/OpenGl_Marker.cxx +++ b/src/OpenGl/OpenGl_Marker.cxx @@ -30,7 +30,7 @@ /*----------------------------------------------------------------------*/ -void OpenGl_Marker::Release (const Handle(OpenGl_Context)& theContext) +void OpenGl_Marker::Release (const Handle(OpenGl_Context)&) { // } diff --git a/src/OpenGl/OpenGl_MarkerSet.cxx b/src/OpenGl/OpenGl_MarkerSet.cxx index 2ba4bc5cb8..3ab427c1b0 100644 --- a/src/OpenGl/OpenGl_MarkerSet.cxx +++ b/src/OpenGl/OpenGl_MarkerSet.cxx @@ -139,7 +139,7 @@ void OpenGl_MarkerSet::Render (const Handle(OpenGl_Workspace) &AWorkspace) const } } -void OpenGl_MarkerSet::Release (const Handle(OpenGl_Context)& theContext) +void OpenGl_MarkerSet::Release (const Handle(OpenGl_Context)&) { // } diff --git a/src/OpenGl/OpenGl_Text.cxx b/src/OpenGl/OpenGl_Text.cxx index 2e873be88e..04dcf0e35a 100644 --- a/src/OpenGl/OpenGl_Text.cxx +++ b/src/OpenGl/OpenGl_Text.cxx @@ -426,7 +426,7 @@ void OpenGl_Text::Render (const Handle(OpenGl_PrinterContext)& thePrintCtx, // purpose : // ======================================================================= void OpenGl_Text::setupMatrix (const Handle(OpenGl_PrinterContext)& thePrintCtx, - const Handle(OpenGl_Context)& theCtx, + const Handle(OpenGl_Context)& /*theCtx*/, const OpenGl_AspectText& theTextAspect, const OpenGl_Vec3 theDVec) const { @@ -476,9 +476,14 @@ void OpenGl_Text::setupMatrix (const Handle(OpenGl_PrinterContext)& thePrintCtx, // function : drawText // purpose : // ======================================================================= -void OpenGl_Text::drawText (const Handle(OpenGl_PrinterContext)& thePrintCtx, + +void OpenGl_Text::drawText (const Handle(OpenGl_PrinterContext)& , const Handle(OpenGl_Context)& theCtx, + #ifdef HAVE_GL2PS const OpenGl_AspectText& theTextAspect) const + #else + const OpenGl_AspectText& ) const + #endif { #ifdef HAVE_GL2PS if (theCtx->IsFeedback()) diff --git a/src/OpenGl/OpenGl_TextFormatter.cxx b/src/OpenGl/OpenGl_TextFormatter.cxx index 9fcb2b8038..36ca3bb440 100644 --- a/src/OpenGl/OpenGl_TextFormatter.cxx +++ b/src/OpenGl/OpenGl_TextFormatter.cxx @@ -269,7 +269,7 @@ void OpenGl_TextFormatter::Result (const Handle(OpenGl_Context)& // function : Result // purpose : // ======================================================================= -void OpenGl_TextFormatter::Result (const Handle(OpenGl_Context)& theCtx, +void OpenGl_TextFormatter::Result (const Handle(OpenGl_Context)& /*theCtx*/, NCollection_Vector& theTextures, NCollection_Vector& theVertsPerTexture, NCollection_Vector& theTCrdsPerTexture) const diff --git a/src/OpenGl/OpenGl_View_2.cxx b/src/OpenGl/OpenGl_View_2.cxx index 3ce2a6c436..8e7334806c 100644 --- a/src/OpenGl/OpenGl_View_2.cxx +++ b/src/OpenGl/OpenGl_View_2.cxx @@ -1213,7 +1213,7 @@ void OpenGl_View::RenderStructs (const Handle(OpenGl_Workspace) &AWorkspace) //call_togl_redraw_layer2d void OpenGl_View::RedrawLayer2d (const Handle(OpenGl_PrinterContext)& thePrintContext, - const Handle(OpenGl_Workspace)& AWorkspace, + const Handle(OpenGl_Workspace)& /*AWorkspace*/, const Graphic3d_CView& ACView, const Aspect_CLayer2d& ACLayer) { diff --git a/src/OpenGl/OpenGl_Workspace_5.cxx b/src/OpenGl/OpenGl_Workspace_5.cxx index d359d478db..b930da94cd 100644 --- a/src/OpenGl/OpenGl_Workspace_5.cxx +++ b/src/OpenGl/OpenGl_Workspace_5.cxx @@ -516,7 +516,7 @@ const OpenGl_AspectFace* OpenGl_Workspace::AspectFace (const Standard_Boolean th glDisable (GL_POLYGON_STIPPLE); break; } - case 5: //szvgl - no corresponding enumeration item Aspect_IS_POINT + case 5: //szvgl - no corresponding enumeration item Aspect_IS_POINT // = 5 { glPolygonMode(GL_FRONT_AND_BACK,GL_POINT); break; diff --git a/src/OpenGl/OpenGl_telem_view.cxx b/src/OpenGl/OpenGl_telem_view.cxx index c751245f82..b161e674c4 100644 --- a/src/OpenGl/OpenGl_telem_view.cxx +++ b/src/OpenGl/OpenGl_telem_view.cxx @@ -35,8 +35,8 @@ EvalViewMappingMatrix( tel_view_mapping mapping /* View Mapping */, Tint flag, Tfloat cx, Tfloat cy, - Tint clip_flag, - Tlimit3 *clip_limit + Tint /*clip_flag*/, + Tlimit3 */*clip_limit*/ ) { Tfloat gx, gy, xsf, ysf, zsf; diff --git a/src/ProjLib/ProjLib_ProjectedCurve.cxx b/src/ProjLib/ProjLib_ProjectedCurve.cxx index 5c94aefcec..8200f4d7ef 100755 --- a/src/ProjLib/ProjLib_ProjectedCurve.cxx +++ b/src/ProjLib/ProjLib_ProjectedCurve.cxx @@ -396,15 +396,15 @@ static void TrimC3d(Handle(Adaptor3d_HCurve)& myCurve, //purpose : //======================================================================= -static void ExtendC2d(Handle(Geom2d_BSplineCurve)& aRes, - const Standard_Real t, - const Standard_Real dt, - const Standard_Real u1, - const Standard_Real u2, - const Standard_Real v1, - const Standard_Real v2, - const Standard_Integer FirstOrLast, - const Standard_Integer NumberOfSingularCase) +static void ExtendC2d (Handle(Geom2d_BSplineCurve)& aRes, + const Standard_Real /*t*/, + const Standard_Real /*dt*/, + const Standard_Real u1, + const Standard_Real u2, + const Standard_Real v1, + const Standard_Real v2, + const Standard_Integer FirstOrLast, + const Standard_Integer NumberOfSingularCase) { Standard_Real theParam = (FirstOrLast == 0)? aRes->FirstParameter() : aRes->LastParameter(); diff --git a/src/Prs3d/Prs3d_RadiusAspect.cxx b/src/Prs3d/Prs3d_RadiusAspect.cxx index 8234b0727e..7003e6264b 100755 --- a/src/Prs3d/Prs3d_RadiusAspect.cxx +++ b/src/Prs3d/Prs3d_RadiusAspect.cxx @@ -19,6 +19,6 @@ #include Prs3d_RadiusAspect::Prs3d_RadiusAspect(const Quantity_NameOfColor /*aColor*/, - const Aspect_TypeOfLine aType, - const Standard_Real aWidth) { + const Aspect_TypeOfLine /*aType*/, + const Standard_Real /*aWidth*/) { } diff --git a/src/Prs3d/Prs3d_WFShape.hxx b/src/Prs3d/Prs3d_WFShape.hxx index d5e1b8fae9..3e2d4bb014 100644 --- a/src/Prs3d/Prs3d_WFShape.hxx +++ b/src/Prs3d/Prs3d_WFShape.hxx @@ -96,10 +96,10 @@ Standard_EXPORT static Standard_Boolean IsSame (const Handle(Graphic3d_AspectLin //========================================================================= Standard_EXPORT static Standard_Boolean AddPolygon (const TopoDS_Edge& theEdge, - Handle(Graphic3d_Group)& theGroup, - const Standard_Real theDeflection, - const Handle (Prs3d_Drawer)& , - TColgp_SequenceOfPnt& thePoints) + Handle(Graphic3d_Group)& , + const Standard_Real theDeflection, + const Handle (Prs3d_Drawer)& , + TColgp_SequenceOfPnt& thePoints) { TopLoc_Location aLocation; Standard_Real aFirst, aLast; diff --git a/src/QABugs/QABugs_11.cxx b/src/QABugs/QABugs_11.cxx index 6ea73da4b2..66ae18bd88 100755 --- a/src/QABugs/QABugs_11.cxx +++ b/src/QABugs/QABugs_11.cxx @@ -5180,7 +5180,7 @@ Standard_Integer OCC22736 (Draw_Interpretor& di, Standard_Integer argc, const ch return 0; } -Standard_Integer OCC23429(Draw_Interpretor& di, +Standard_Integer OCC23429(Draw_Interpretor& /*di*/, Standard_Integer narg, const char** a) { if (narg < 4) return 1; diff --git a/src/QABugs/QABugs_17.cxx b/src/QABugs/QABugs_17.cxx index 3aab630c45..ab3aa30ba2 100755 --- a/src/QABugs/QABugs_17.cxx +++ b/src/QABugs/QABugs_17.cxx @@ -569,7 +569,7 @@ static Standard_Integer OCC280 (Draw_Interpretor& di, Standard_Integer argc, con return 0; } -static Standard_Integer OCC232 (Draw_Interpretor& di, Standard_Integer argc, const char ** argv) +static Standard_Integer OCC232 (Draw_Interpretor& di, Standard_Integer /*argc*/, const char ** argv) { Handle(AIS_InteractiveContext) aContext = ViewerTest::GetAISContext(); if(aContext.IsNull()) { diff --git a/src/QABugs/QABugs_18.cxx b/src/QABugs/QABugs_18.cxx index 16c7399a54..308de7fdbc 100755 --- a/src/QABugs/QABugs_18.cxx +++ b/src/QABugs/QABugs_18.cxx @@ -76,7 +76,7 @@ static Quantity_NameOfColor GetColorFromName( const char *name, Standard_Boolean return ret; } -static Standard_Integer BUC60851 (Draw_Interpretor& di, Standard_Integer /*argc*/, const char ** /*argv*/) +static Standard_Integer BUC60851 (Draw_Interpretor& /*di*/, Standard_Integer /*argc*/, const char ** /*argv*/) { Handle(AIS_InteractiveContext) context= ViewerTest_Tool::MakeContext ("buc60851"); ViewerTest_Tool::InitViewerTest (context); diff --git a/src/QABugs/QABugs_19.cxx b/src/QABugs/QABugs_19.cxx index f50e608c5a..2dfd118277 100755 --- a/src/QABugs/QABugs_19.cxx +++ b/src/QABugs/QABugs_19.cxx @@ -224,7 +224,7 @@ static Standard_Integer OCC22980 (Draw_Interpretor& di, Standard_Integer /*argc* #include #include -static Standard_Integer OCC23595 (Draw_Interpretor& di, Standard_Integer /*argc*/, const char **argv) +static Standard_Integer OCC23595 (Draw_Interpretor& di, Standard_Integer /*argc*/, const char **/*argv*/) { const Handle(TDocStd_Application)& anApp = XCAFApp_Application::GetApplication(); Handle(TDocStd_Document) aDoc; @@ -278,7 +278,7 @@ Standard_Integer OCC22611 (Draw_Interpretor& di, Standard_Integer argc, const ch return 0; } -Standard_Integer OCC22595 (Draw_Interpretor& di, Standard_Integer argc, const char ** argv) +Standard_Integer OCC22595 (Draw_Interpretor& di, Standard_Integer /*argc*/, const char ** /*argv*/) { gp_Mat M0; di << "M0 = " @@ -574,7 +574,7 @@ static int test_offset(Draw_Interpretor& di, Standard_Integer argc, const char** //purpose : //======================================================================= -static Standard_Integer OCC23945 (Draw_Interpretor& di,Standard_Integer n, const char** a) +static Standard_Integer OCC23945 (Draw_Interpretor& /*di*/,Standard_Integer n, const char** a) { if (n < 5) return 1; diff --git a/src/QABugs/QABugs_3.cxx b/src/QABugs/QABugs_3.cxx index 72792d45ff..f77883dd91 100644 --- a/src/QABugs/QABugs_3.cxx +++ b/src/QABugs/QABugs_3.cxx @@ -970,7 +970,7 @@ static Standard_Integer BUC60726 (Draw_Interpretor& di,Standard_Integer argc, co #include #include -static Standard_Integer BUC60729 (Draw_Interpretor& di,Standard_Integer /*argc*/, const char ** /*argv*/ ) +static Standard_Integer BUC60729 (Draw_Interpretor& /*di*/,Standard_Integer /*argc*/, const char ** /*argv*/ ) { Bnd_Box aMainBox; TopoDS_Shape aShape = BRepPrimAPI_MakeBox(1,1,1).Solid(); diff --git a/src/QABugs/QABugs_MyText.cxx b/src/QABugs/QABugs_MyText.cxx index 3e15574dc6..d4e7d0d6ee 100644 --- a/src/QABugs/QABugs_MyText.cxx +++ b/src/QABugs/QABugs_MyText.cxx @@ -54,9 +54,9 @@ QABugs_MyText::QABugs_MyText(const TCollection_ExtendedString& aText, const gp_P * **************************************************************************/ -void QABugs_MyText::Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager, +void QABugs_MyText::Compute(const Handle(PrsMgr_PresentationManager3d)& /*aPresentationManager*/, const Handle(Prs3d_Presentation)& aPresentation, - const Standard_Integer aMode ) + const Standard_Integer /*aMode*/ ) { aPresentation->Clear(); Handle_Prs3d_TextAspect asp = myDrawer->TextAspect(); @@ -68,7 +68,7 @@ void QABugs_MyText::Compute(const Handle(PrsMgr_PresentationManager3d)& aPresent } void QABugs_MyText::ComputeSelection(const Handle(SelectMgr_Selection)& aSelection, - const Standard_Integer aMode) + const Standard_Integer /*aMode*/) { // This code is here to compute the selection, erase this code if you don't what selection. diff --git a/src/QANewBRepNaming/QANewBRepNaming_Gluing.cxx b/src/QANewBRepNaming/QANewBRepNaming_Gluing.cxx index 317fd28b1a..939ea1b2f5 100755 --- a/src/QANewBRepNaming/QANewBRepNaming_Gluing.cxx +++ b/src/QANewBRepNaming/QANewBRepNaming_Gluing.cxx @@ -437,7 +437,8 @@ void QANewBRepNaming_Gluing::LoadSourceShapes(TopTools_DataMapOfShapeInteger& th //function : LoadUniqueShapes //purpose : //======================================================================= -void QANewBRepNaming_Gluing::LoadUniqueShapes(QANewModTopOpe_Glue& theMkGluing, const TopTools_DataMapOfShapeInteger& theSources) +void QANewBRepNaming_Gluing::LoadUniqueShapes(QANewModTopOpe_Glue& /*theMkGluing*/, + const TopTools_DataMapOfShapeInteger& theSources) { Standard_Integer anIndex=1; TColStd_MapOfInteger alreadyUsed; diff --git a/src/QANewDBRepNaming/QANewDBRepNaming.cxx b/src/QANewDBRepNaming/QANewDBRepNaming.cxx index ffc6eb7651..071d4b9cfe 100755 --- a/src/QANewDBRepNaming/QANewDBRepNaming.cxx +++ b/src/QANewDBRepNaming/QANewDBRepNaming.cxx @@ -327,7 +327,7 @@ static Standard_Integer QANewDBRepNaming_CheckNaming(Draw_Interpretor& di,Standa //purpose : "CheckSelectShape Doc Label SubShapeType" //======================================================================= -static Standard_Integer QANewDBRepNaming_CheckSelectShape(Draw_Interpretor& di, Standard_Integer nb, const char ** a) +static Standard_Integer QANewDBRepNaming_CheckSelectShape(Draw_Interpretor& di, Standard_Integer /*nb*/, const char ** a) { Handle(TDF_Data) DF; if(!DDF::GetDF(a[1], DF)) return 1; @@ -381,7 +381,7 @@ static Standard_Integer QANewDBRepNaming_CheckSelectShape(Draw_Interpretor& di, //purpose : "CheckSelectShape Doc Label SubShapeType" //======================================================================= -static Standard_Integer QANewDBRepNaming_CheckSolve(Draw_Interpretor&,Standard_Integer nb, const char ** a) +static Standard_Integer QANewDBRepNaming_CheckSolve(Draw_Interpretor&,Standard_Integer /*nb*/, const char ** a) { Handle(TDF_Data) DF; if(!DDF::GetDF(a[1], DF)) return 1; diff --git a/src/RWHeaderSection/RWHeaderSection_GeneralModule.cxx b/src/RWHeaderSection/RWHeaderSection_GeneralModule.cxx index b8f919e8d9..9036558c8d 100755 --- a/src/RWHeaderSection/RWHeaderSection_GeneralModule.cxx +++ b/src/RWHeaderSection/RWHeaderSection_GeneralModule.cxx @@ -52,10 +52,10 @@ void RWHeaderSection_GeneralModule::FillSharedCase(const Standard_Integer CN, co } -void RWHeaderSection_GeneralModule::CheckCase(const Standard_Integer CN, - const Handle(Standard_Transient)& ent, - const Interface_ShareTool& shares, - Handle(Interface_Check)& /*ach*/) const +void RWHeaderSection_GeneralModule::CheckCase(const Standard_Integer, + const Handle(Standard_Transient)&, + const Interface_ShareTool&, + Handle(Interface_Check)&) const { } diff --git a/src/RWHeaderSection/RWHeaderSection_ReadWriteModule.cxx b/src/RWHeaderSection/RWHeaderSection_ReadWriteModule.cxx index ec70fdc38d..a702e8a728 100755 --- a/src/RWHeaderSection/RWHeaderSection_ReadWriteModule.cxx +++ b/src/RWHeaderSection/RWHeaderSection_ReadWriteModule.cxx @@ -80,7 +80,7 @@ Standard_Integer RWHeaderSection_ReadWriteModule::CaseStep // --- External Mapping Recognition --- Standard_Boolean RWHeaderSection_ReadWriteModule::IsComplex - (const Standard_Integer CN) const + (const Standard_Integer /*CN*/) const { return Standard_False; } diff --git a/src/RWStepAP214/RWStepAP214_RWClass.cxx b/src/RWStepAP214/RWStepAP214_RWClass.cxx index d1b7bd9a7f..c6c7c6a66b 100755 --- a/src/RWStepAP214/RWStepAP214_RWClass.cxx +++ b/src/RWStepAP214/RWStepAP214_RWClass.cxx @@ -87,9 +87,8 @@ void RWStepAP214_RWClass::WriteStep (StepData_StepWriter& SW, //purpose : //======================================================================= -void RWStepAP214_RWClass::Share (const Handle(StepAP214_Class) &ent, - Interface_EntityIterator& iter) const +void RWStepAP214_RWClass::Share (const Handle(StepAP214_Class) &, + Interface_EntityIterator&) const { - // Inherited fields of Group } diff --git a/src/RWStepAP214/RWStepAP214_RWRepItemGroup.cxx b/src/RWStepAP214/RWStepAP214_RWRepItemGroup.cxx index dba0de309e..12c827ee35 100755 --- a/src/RWStepAP214/RWStepAP214_RWRepItemGroup.cxx +++ b/src/RWStepAP214/RWStepAP214_RWRepItemGroup.cxx @@ -98,11 +98,9 @@ void RWStepAP214_RWRepItemGroup::WriteStep (StepData_StepWriter& SW, //purpose : //======================================================================= -void RWStepAP214_RWRepItemGroup::Share (const Handle(StepAP214_RepItemGroup) &ent, - Interface_EntityIterator& iter) const +void RWStepAP214_RWRepItemGroup::Share (const Handle(StepAP214_RepItemGroup)&, + Interface_EntityIterator&) const { - // Inherited fields of Group - // Inherited fields of RepresentationItem } diff --git a/src/RWStepBasic/RWStepBasic_RWActionMethod.cxx b/src/RWStepBasic/RWStepBasic_RWActionMethod.cxx index 52cb81ac9f..ad0dad79ab 100755 --- a/src/RWStepBasic/RWStepBasic_RWActionMethod.cxx +++ b/src/RWStepBasic/RWStepBasic_RWActionMethod.cxx @@ -100,9 +100,8 @@ void RWStepBasic_RWActionMethod::WriteStep (StepData_StepWriter& SW, //purpose : //======================================================================= -void RWStepBasic_RWActionMethod::Share (const Handle(StepBasic_ActionMethod) &ent, - Interface_EntityIterator& iter) const +void RWStepBasic_RWActionMethod::Share (const Handle(StepBasic_ActionMethod) &, + Interface_EntityIterator&) const { - // Own fields of ActionMethod } diff --git a/src/RWStepBasic/RWStepBasic_RWCertificationType.cxx b/src/RWStepBasic/RWStepBasic_RWCertificationType.cxx index c5f5e10966..1e4da7dbf1 100755 --- a/src/RWStepBasic/RWStepBasic_RWCertificationType.cxx +++ b/src/RWStepBasic/RWStepBasic_RWCertificationType.cxx @@ -72,9 +72,8 @@ void RWStepBasic_RWCertificationType::WriteStep (StepData_StepWriter& SW, //purpose : //======================================================================= -void RWStepBasic_RWCertificationType::Share (const Handle(StepBasic_CertificationType) &ent, - Interface_EntityIterator& iter) const +void RWStepBasic_RWCertificationType::Share (const Handle(StepBasic_CertificationType) &, + Interface_EntityIterator&) const { - // Own fields of CertificationType } diff --git a/src/RWStepBasic/RWStepBasic_RWCharacterizedObject.cxx b/src/RWStepBasic/RWStepBasic_RWCharacterizedObject.cxx index 4fe2f26d21..a1fa5ed731 100755 --- a/src/RWStepBasic/RWStepBasic_RWCharacterizedObject.cxx +++ b/src/RWStepBasic/RWStepBasic_RWCharacterizedObject.cxx @@ -87,9 +87,8 @@ void RWStepBasic_RWCharacterizedObject::WriteStep (StepData_StepWriter& SW, //purpose : //======================================================================= -void RWStepBasic_RWCharacterizedObject::Share (const Handle(StepBasic_CharacterizedObject) &ent, - Interface_EntityIterator& iter) const +void RWStepBasic_RWCharacterizedObject::Share (const Handle(StepBasic_CharacterizedObject) &, + Interface_EntityIterator&) const { - // Own fields of CharacterizedObject } diff --git a/src/RWStepBasic/RWStepBasic_RWContractType.cxx b/src/RWStepBasic/RWStepBasic_RWContractType.cxx index f7ef6dfe75..7efd0e4edb 100755 --- a/src/RWStepBasic/RWStepBasic_RWContractType.cxx +++ b/src/RWStepBasic/RWStepBasic_RWContractType.cxx @@ -72,9 +72,8 @@ void RWStepBasic_RWContractType::WriteStep (StepData_StepWriter& SW, //purpose : //======================================================================= -void RWStepBasic_RWContractType::Share (const Handle(StepBasic_ContractType) &ent, - Interface_EntityIterator& iter) const +void RWStepBasic_RWContractType::Share (const Handle(StepBasic_ContractType) &, + Interface_EntityIterator&) const { - // Own fields of ContractType } diff --git a/src/RWStepBasic/RWStepBasic_RWDocumentType.cxx b/src/RWStepBasic/RWStepBasic_RWDocumentType.cxx index 8c11d371aa..6a5a597475 100755 --- a/src/RWStepBasic/RWStepBasic_RWDocumentType.cxx +++ b/src/RWStepBasic/RWStepBasic_RWDocumentType.cxx @@ -63,7 +63,7 @@ void RWStepBasic_RWDocumentType::WriteStep } -void RWStepBasic_RWDocumentType::Share(const Handle(StepBasic_DocumentType)& ent, Interface_EntityIterator& iter) const +void RWStepBasic_RWDocumentType::Share(const Handle(StepBasic_DocumentType)&, Interface_EntityIterator&) const { } diff --git a/src/RWStepBasic/RWStepBasic_RWEffectivity.cxx b/src/RWStepBasic/RWStepBasic_RWEffectivity.cxx index f8835d35d4..3a6205cb45 100755 --- a/src/RWStepBasic/RWStepBasic_RWEffectivity.cxx +++ b/src/RWStepBasic/RWStepBasic_RWEffectivity.cxx @@ -63,7 +63,7 @@ void RWStepBasic_RWEffectivity::WriteStep } -void RWStepBasic_RWEffectivity::Share(const Handle(StepBasic_Effectivity)& ent, Interface_EntityIterator& iter) const +void RWStepBasic_RWEffectivity::Share(const Handle(StepBasic_Effectivity)&, Interface_EntityIterator&) const { } diff --git a/src/RWStepBasic/RWStepBasic_RWEulerAngles.cxx b/src/RWStepBasic/RWStepBasic_RWEulerAngles.cxx index 69e8cd3f5b..974a455474 100755 --- a/src/RWStepBasic/RWStepBasic_RWEulerAngles.cxx +++ b/src/RWStepBasic/RWStepBasic_RWEulerAngles.cxx @@ -88,9 +88,8 @@ void RWStepBasic_RWEulerAngles::WriteStep (StepData_StepWriter& SW, //purpose : //======================================================================= -void RWStepBasic_RWEulerAngles::Share (const Handle(StepBasic_EulerAngles) &ent, - Interface_EntityIterator& iter) const +void RWStepBasic_RWEulerAngles::Share (const Handle(StepBasic_EulerAngles) &, + Interface_EntityIterator&) const { - // Own fields of EulerAngles } diff --git a/src/RWStepBasic/RWStepBasic_RWGeneralProperty.cxx b/src/RWStepBasic/RWStepBasic_RWGeneralProperty.cxx index bd491539ff..ad21794e7b 100755 --- a/src/RWStepBasic/RWStepBasic_RWGeneralProperty.cxx +++ b/src/RWStepBasic/RWStepBasic_RWGeneralProperty.cxx @@ -93,9 +93,8 @@ void RWStepBasic_RWGeneralProperty::WriteStep (StepData_StepWriter& SW, //purpose : //======================================================================= -void RWStepBasic_RWGeneralProperty::Share (const Handle(StepBasic_GeneralProperty) &ent, - Interface_EntityIterator& iter) const +void RWStepBasic_RWGeneralProperty::Share (const Handle(StepBasic_GeneralProperty) &, + Interface_EntityIterator&) const { - // Own fields of GeneralProperty } diff --git a/src/RWStepBasic/RWStepBasic_RWGroup.cxx b/src/RWStepBasic/RWStepBasic_RWGroup.cxx index e456e12aa8..fc0e0a7675 100755 --- a/src/RWStepBasic/RWStepBasic_RWGroup.cxx +++ b/src/RWStepBasic/RWStepBasic_RWGroup.cxx @@ -87,9 +87,8 @@ void RWStepBasic_RWGroup::WriteStep (StepData_StepWriter& SW, //purpose : //======================================================================= -void RWStepBasic_RWGroup::Share (const Handle(StepBasic_Group) &ent, - Interface_EntityIterator& iter) const +void RWStepBasic_RWGroup::Share (const Handle(StepBasic_Group) &, + Interface_EntityIterator&) const { - // Own fields of Group } diff --git a/src/RWStepBasic/RWStepBasic_RWIdentificationRole.cxx b/src/RWStepBasic/RWStepBasic_RWIdentificationRole.cxx index e2765a0f58..cae4a7e140 100755 --- a/src/RWStepBasic/RWStepBasic_RWIdentificationRole.cxx +++ b/src/RWStepBasic/RWStepBasic_RWIdentificationRole.cxx @@ -87,9 +87,8 @@ void RWStepBasic_RWIdentificationRole::WriteStep (StepData_StepWriter& SW, //purpose : //======================================================================= -void RWStepBasic_RWIdentificationRole::Share (const Handle(StepBasic_IdentificationRole) &ent, - Interface_EntityIterator& iter) const +void RWStepBasic_RWIdentificationRole::Share (const Handle(StepBasic_IdentificationRole) &, + Interface_EntityIterator&) const { - // Own fields of IdentificationRole } diff --git a/src/RWStepBasic/RWStepBasic_RWNameAssignment.cxx b/src/RWStepBasic/RWStepBasic_RWNameAssignment.cxx index e9d038b3b4..029d0a74c3 100755 --- a/src/RWStepBasic/RWStepBasic_RWNameAssignment.cxx +++ b/src/RWStepBasic/RWStepBasic_RWNameAssignment.cxx @@ -71,9 +71,8 @@ void RWStepBasic_RWNameAssignment::WriteStep (StepData_StepWriter& SW, //purpose : //======================================================================= -void RWStepBasic_RWNameAssignment::Share (const Handle(StepBasic_NameAssignment) &ent, - Interface_EntityIterator& iter) const +void RWStepBasic_RWNameAssignment::Share (const Handle(StepBasic_NameAssignment) &, + Interface_EntityIterator&) const { - // Own fields of NameAssignment } diff --git a/src/RWStepBasic/RWStepBasic_RWObjectRole.cxx b/src/RWStepBasic/RWStepBasic_RWObjectRole.cxx index 5aaa7e2ae1..4aa2934825 100755 --- a/src/RWStepBasic/RWStepBasic_RWObjectRole.cxx +++ b/src/RWStepBasic/RWStepBasic_RWObjectRole.cxx @@ -87,8 +87,8 @@ void RWStepBasic_RWObjectRole::WriteStep (StepData_StepWriter& SW, //purpose : //======================================================================= -void RWStepBasic_RWObjectRole::Share (const Handle(StepBasic_ObjectRole) &ent, - Interface_EntityIterator& iter) const +void RWStepBasic_RWObjectRole::Share (const Handle(StepBasic_ObjectRole) &, + Interface_EntityIterator&) const { // Own fields of ObjectRole diff --git a/src/RWStepBasic/RWStepBasic_RWVersionedActionRequest.cxx b/src/RWStepBasic/RWStepBasic_RWVersionedActionRequest.cxx index ed1068004b..cf26b8a8a0 100755 --- a/src/RWStepBasic/RWStepBasic_RWVersionedActionRequest.cxx +++ b/src/RWStepBasic/RWStepBasic_RWVersionedActionRequest.cxx @@ -100,8 +100,8 @@ void RWStepBasic_RWVersionedActionRequest::WriteStep (StepData_StepWriter& SW, //purpose : //======================================================================= -void RWStepBasic_RWVersionedActionRequest::Share (const Handle(StepBasic_VersionedActionRequest) &ent, - Interface_EntityIterator& iter) const +void RWStepBasic_RWVersionedActionRequest::Share (const Handle(StepBasic_VersionedActionRequest) &, + Interface_EntityIterator&) const { // Own fields of VersionedActionRequest diff --git a/src/RWStepElement/RWStepElement_RWCurve3dElementDescriptor.cxx b/src/RWStepElement/RWStepElement_RWCurve3dElementDescriptor.cxx index ec470b7cc9..e06b4d4371 100755 --- a/src/RWStepElement/RWStepElement_RWCurve3dElementDescriptor.cxx +++ b/src/RWStepElement/RWStepElement_RWCurve3dElementDescriptor.cxx @@ -133,8 +133,8 @@ void RWStepElement_RWCurve3dElementDescriptor::WriteStep (StepData_StepWriter& S //purpose : //======================================================================= -void RWStepElement_RWCurve3dElementDescriptor::Share (const Handle(StepElement_Curve3dElementDescriptor) &ent, - Interface_EntityIterator& iter) const +void RWStepElement_RWCurve3dElementDescriptor::Share (const Handle(StepElement_Curve3dElementDescriptor)&, + Interface_EntityIterator&) const { // Inherited fields of ElementDescriptor diff --git a/src/RWStepElement/RWStepElement_RWCurveElementSectionDefinition.cxx b/src/RWStepElement/RWStepElement_RWCurveElementSectionDefinition.cxx index ad50daf09f..a7cf0a3d22 100755 --- a/src/RWStepElement/RWStepElement_RWCurveElementSectionDefinition.cxx +++ b/src/RWStepElement/RWStepElement_RWCurveElementSectionDefinition.cxx @@ -77,9 +77,8 @@ void RWStepElement_RWCurveElementSectionDefinition::WriteStep (StepData_StepWrit //purpose : //======================================================================= -void RWStepElement_RWCurveElementSectionDefinition::Share (const Handle(StepElement_CurveElementSectionDefinition) &ent, - Interface_EntityIterator& iter) const +void RWStepElement_RWCurveElementSectionDefinition::Share (const Handle(StepElement_CurveElementSectionDefinition)&, + Interface_EntityIterator&) const { - // Own fields of CurveElementSectionDefinition } diff --git a/src/RWStepElement/RWStepElement_RWElementDescriptor.cxx b/src/RWStepElement/RWStepElement_RWElementDescriptor.cxx index ce3fb7d272..0e0a980158 100755 --- a/src/RWStepElement/RWStepElement_RWElementDescriptor.cxx +++ b/src/RWStepElement/RWStepElement_RWElementDescriptor.cxx @@ -88,9 +88,8 @@ void RWStepElement_RWElementDescriptor::WriteStep (StepData_StepWriter& SW, //purpose : //======================================================================= -void RWStepElement_RWElementDescriptor::Share (const Handle(StepElement_ElementDescriptor) &ent, - Interface_EntityIterator& iter) const +void RWStepElement_RWElementDescriptor::Share (const Handle(StepElement_ElementDescriptor)&, + Interface_EntityIterator&) const { - // Own fields of ElementDescriptor } diff --git a/src/RWStepElement/RWStepElement_RWSurface3dElementDescriptor.cxx b/src/RWStepElement/RWStepElement_RWSurface3dElementDescriptor.cxx index 80eb06a38d..71d6c6ab2f 100755 --- a/src/RWStepElement/RWStepElement_RWSurface3dElementDescriptor.cxx +++ b/src/RWStepElement/RWStepElement_RWSurface3dElementDescriptor.cxx @@ -147,8 +147,8 @@ void RWStepElement_RWSurface3dElementDescriptor::WriteStep (StepData_StepWriter& //purpose : //======================================================================= -void RWStepElement_RWSurface3dElementDescriptor::Share (const Handle(StepElement_Surface3dElementDescriptor) &ent, - Interface_EntityIterator& iter) const +void RWStepElement_RWSurface3dElementDescriptor::Share (const Handle(StepElement_Surface3dElementDescriptor)&, + Interface_EntityIterator&) const { // Inherited fields of ElementDescriptor diff --git a/src/RWStepElement/RWStepElement_RWSurfaceSection.cxx b/src/RWStepElement/RWStepElement_RWSurfaceSection.cxx index 157f984ff9..8a5e4c5f4f 100755 --- a/src/RWStepElement/RWStepElement_RWSurfaceSection.cxx +++ b/src/RWStepElement/RWStepElement_RWSurfaceSection.cxx @@ -83,8 +83,8 @@ void RWStepElement_RWSurfaceSection::WriteStep (StepData_StepWriter& SW, //purpose : //======================================================================= -void RWStepElement_RWSurfaceSection::Share (const Handle(StepElement_SurfaceSection) &ent, - Interface_EntityIterator& iter) const +void RWStepElement_RWSurfaceSection::Share (const Handle(StepElement_SurfaceSection)&, + Interface_EntityIterator&) const { // Own fields of SurfaceSection diff --git a/src/RWStepElement/RWStepElement_RWSurfaceSectionField.cxx b/src/RWStepElement/RWStepElement_RWSurfaceSectionField.cxx index b691bbba69..755b3a0a39 100755 --- a/src/RWStepElement/RWStepElement_RWSurfaceSectionField.cxx +++ b/src/RWStepElement/RWStepElement_RWSurfaceSectionField.cxx @@ -38,7 +38,7 @@ RWStepElement_RWSurfaceSectionField::RWStepElement_RWSurfaceSectionField () void RWStepElement_RWSurfaceSectionField::ReadStep (const Handle(StepData_StepReaderData)& data, const Standard_Integer num, Handle(Interface_Check)& ach, - const Handle(StepElement_SurfaceSectionField) &ent) const + const Handle(StepElement_SurfaceSectionField) &/*ent*/) const { // Check number of parameters if ( ! data->CheckNbParams(num,0,ach,"surface_section_field") ) return; @@ -52,8 +52,8 @@ void RWStepElement_RWSurfaceSectionField::ReadStep (const Handle(StepData_StepRe //purpose : //======================================================================= -void RWStepElement_RWSurfaceSectionField::WriteStep (StepData_StepWriter& SW, - const Handle(StepElement_SurfaceSectionField) &ent) const +void RWStepElement_RWSurfaceSectionField::WriteStep (StepData_StepWriter&, + const Handle(StepElement_SurfaceSectionField)&) const { } @@ -62,7 +62,7 @@ void RWStepElement_RWSurfaceSectionField::WriteStep (StepData_StepWriter& SW, //purpose : //======================================================================= -void RWStepElement_RWSurfaceSectionField::Share (const Handle(StepElement_SurfaceSectionField) &ent, - Interface_EntityIterator& iter) const +void RWStepElement_RWSurfaceSectionField::Share (const Handle(StepElement_SurfaceSectionField)&, + Interface_EntityIterator&) const { } diff --git a/src/RWStepElement/RWStepElement_RWUniformSurfaceSection.cxx b/src/RWStepElement/RWStepElement_RWUniformSurfaceSection.cxx index 078d07135d..94be97052d 100755 --- a/src/RWStepElement/RWStepElement_RWUniformSurfaceSection.cxx +++ b/src/RWStepElement/RWStepElement_RWUniformSurfaceSection.cxx @@ -105,8 +105,8 @@ void RWStepElement_RWUniformSurfaceSection::WriteStep (StepData_StepWriter& SW, //purpose : //======================================================================= -void RWStepElement_RWUniformSurfaceSection::Share (const Handle(StepElement_UniformSurfaceSection) &ent, - Interface_EntityIterator& iter) const +void RWStepElement_RWUniformSurfaceSection::Share (const Handle(StepElement_UniformSurfaceSection) &, + Interface_EntityIterator&) const { // Inherited fields of SurfaceSection diff --git a/src/RWStepElement/RWStepElement_RWVolume3dElementDescriptor.cxx b/src/RWStepElement/RWStepElement_RWVolume3dElementDescriptor.cxx index af797fb856..5784da5cbb 100755 --- a/src/RWStepElement/RWStepElement_RWVolume3dElementDescriptor.cxx +++ b/src/RWStepElement/RWStepElement_RWVolume3dElementDescriptor.cxx @@ -136,8 +136,8 @@ void RWStepElement_RWVolume3dElementDescriptor::WriteStep (StepData_StepWriter& //purpose : //======================================================================= -void RWStepElement_RWVolume3dElementDescriptor::Share (const Handle(StepElement_Volume3dElementDescriptor) &ent, - Interface_EntityIterator& iter) const +void RWStepElement_RWVolume3dElementDescriptor::Share (const Handle(StepElement_Volume3dElementDescriptor) &, + Interface_EntityIterator&) const { // Inherited fields of ElementDescriptor diff --git a/src/RWStepFEA/RWStepFEA_RWConstantSurface3dElementCoordinateSystem.cxx b/src/RWStepFEA/RWStepFEA_RWConstantSurface3dElementCoordinateSystem.cxx index 84a1cdf252..ee3141db64 100755 --- a/src/RWStepFEA/RWStepFEA_RWConstantSurface3dElementCoordinateSystem.cxx +++ b/src/RWStepFEA/RWStepFEA_RWConstantSurface3dElementCoordinateSystem.cxx @@ -87,11 +87,9 @@ void RWStepFEA_RWConstantSurface3dElementCoordinateSystem::WriteStep (StepData_S //purpose : //======================================================================= -void RWStepFEA_RWConstantSurface3dElementCoordinateSystem::Share (const Handle(StepFEA_ConstantSurface3dElementCoordinateSystem) &ent, - Interface_EntityIterator& iter) const +void RWStepFEA_RWConstantSurface3dElementCoordinateSystem::Share (const Handle(StepFEA_ConstantSurface3dElementCoordinateSystem)&, + Interface_EntityIterator&) const { - // Inherited fields of RepresentationItem - // Own fields of ConstantSurface3dElementCoordinateSystem } diff --git a/src/RWStepFEA/RWStepFEA_RWFeaAreaDensity.cxx b/src/RWStepFEA/RWStepFEA_RWFeaAreaDensity.cxx index 3f90abce74..2cdc577ec6 100755 --- a/src/RWStepFEA/RWStepFEA_RWFeaAreaDensity.cxx +++ b/src/RWStepFEA/RWStepFEA_RWFeaAreaDensity.cxx @@ -81,11 +81,9 @@ void RWStepFEA_RWFeaAreaDensity::WriteStep (StepData_StepWriter& SW, //purpose : //======================================================================= -void RWStepFEA_RWFeaAreaDensity::Share (const Handle(StepFEA_FeaAreaDensity) &ent, - Interface_EntityIterator& iter) const +void RWStepFEA_RWFeaAreaDensity::Share (const Handle(StepFEA_FeaAreaDensity)&, + Interface_EntityIterator&) const { - // Inherited fields of RepresentationItem - // Own fields of FeaAreaDensity } diff --git a/src/RWStepFEA/RWStepFEA_RWFeaMassDensity.cxx b/src/RWStepFEA/RWStepFEA_RWFeaMassDensity.cxx index 5a7eeb65bc..83017c5c32 100755 --- a/src/RWStepFEA/RWStepFEA_RWFeaMassDensity.cxx +++ b/src/RWStepFEA/RWStepFEA_RWFeaMassDensity.cxx @@ -81,11 +81,9 @@ void RWStepFEA_RWFeaMassDensity::WriteStep (StepData_StepWriter& SW, //purpose : //======================================================================= -void RWStepFEA_RWFeaMassDensity::Share (const Handle(StepFEA_FeaMassDensity) &ent, - Interface_EntityIterator& iter) const +void RWStepFEA_RWFeaMassDensity::Share (const Handle(StepFEA_FeaMassDensity) &, + Interface_EntityIterator&) const { - // Inherited fields of RepresentationItem - // Own fields of FeaMassDensity } diff --git a/src/RWStepFEA/RWStepFEA_RWFeaMaterialPropertyRepresentationItem.cxx b/src/RWStepFEA/RWStepFEA_RWFeaMaterialPropertyRepresentationItem.cxx index 9e076a2769..2908fb3f92 100755 --- a/src/RWStepFEA/RWStepFEA_RWFeaMaterialPropertyRepresentationItem.cxx +++ b/src/RWStepFEA/RWStepFEA_RWFeaMaterialPropertyRepresentationItem.cxx @@ -71,9 +71,8 @@ void RWStepFEA_RWFeaMaterialPropertyRepresentationItem::WriteStep (StepData_Step //purpose : //======================================================================= -void RWStepFEA_RWFeaMaterialPropertyRepresentationItem::Share (const Handle(StepFEA_FeaMaterialPropertyRepresentationItem) &ent, - Interface_EntityIterator& iter) const +void RWStepFEA_RWFeaMaterialPropertyRepresentationItem::Share (const Handle(StepFEA_FeaMaterialPropertyRepresentationItem) &, + Interface_EntityIterator&) const { - // Inherited fields of RepresentationItem } diff --git a/src/RWStepFEA/RWStepFEA_RWFeaParametricPoint.cxx b/src/RWStepFEA/RWStepFEA_RWFeaParametricPoint.cxx index 44baa2c1fa..bf2aa10458 100755 --- a/src/RWStepFEA/RWStepFEA_RWFeaParametricPoint.cxx +++ b/src/RWStepFEA/RWStepFEA_RWFeaParametricPoint.cxx @@ -98,11 +98,9 @@ void RWStepFEA_RWFeaParametricPoint::WriteStep (StepData_StepWriter& SW, //purpose : //======================================================================= -void RWStepFEA_RWFeaParametricPoint::Share (const Handle(StepFEA_FeaParametricPoint) &ent, - Interface_EntityIterator& iter) const +void RWStepFEA_RWFeaParametricPoint::Share (const Handle(StepFEA_FeaParametricPoint) &, + Interface_EntityIterator&) const { - // Inherited fields of RepresentationItem - // Own fields of FeaParametricPoint } diff --git a/src/RWStepFEA/RWStepFEA_RWFeaRepresentationItem.cxx b/src/RWStepFEA/RWStepFEA_RWFeaRepresentationItem.cxx index 3b564dba75..b652818e23 100755 --- a/src/RWStepFEA/RWStepFEA_RWFeaRepresentationItem.cxx +++ b/src/RWStepFEA/RWStepFEA_RWFeaRepresentationItem.cxx @@ -71,9 +71,8 @@ void RWStepFEA_RWFeaRepresentationItem::WriteStep (StepData_StepWriter& SW, //purpose : //======================================================================= -void RWStepFEA_RWFeaRepresentationItem::Share (const Handle(StepFEA_FeaRepresentationItem) &ent, - Interface_EntityIterator& iter) const +void RWStepFEA_RWFeaRepresentationItem::Share (const Handle(StepFEA_FeaRepresentationItem) &, + Interface_EntityIterator&) const { - // Inherited fields of RepresentationItem } diff --git a/src/RWStepFEA/RWStepFEA_RWParametricSurface3dElementCoordinateSystem.cxx b/src/RWStepFEA/RWStepFEA_RWParametricSurface3dElementCoordinateSystem.cxx index 925698187e..494e8a4ff6 100755 --- a/src/RWStepFEA/RWStepFEA_RWParametricSurface3dElementCoordinateSystem.cxx +++ b/src/RWStepFEA/RWStepFEA_RWParametricSurface3dElementCoordinateSystem.cxx @@ -87,11 +87,9 @@ void RWStepFEA_RWParametricSurface3dElementCoordinateSystem::WriteStep (StepData //purpose : //======================================================================= -void RWStepFEA_RWParametricSurface3dElementCoordinateSystem::Share (const Handle(StepFEA_ParametricSurface3dElementCoordinateSystem) &ent, - Interface_EntityIterator& iter) const +void RWStepFEA_RWParametricSurface3dElementCoordinateSystem::Share (const Handle(StepFEA_ParametricSurface3dElementCoordinateSystem) &, + Interface_EntityIterator&) const { - // Inherited fields of RepresentationItem - // Own fields of ParametricSurface3dElementCoordinateSystem } diff --git a/src/RWStepGeom/RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext.cxx b/src/RWStepGeom/RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext.cxx index 18045b6774..8d50f8879e 100755 --- a/src/RWStepGeom/RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext.cxx +++ b/src/RWStepGeom/RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext.cxx @@ -106,7 +106,7 @@ void RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationConte } -void RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext::Share(const Handle(StepGeom_GeometricRepresentationContextAndParametricRepresentationContext)& ent, Interface_EntityIterator& iter) const +void RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext::Share(const Handle(StepGeom_GeometricRepresentationContextAndParametricRepresentationContext)& , Interface_EntityIterator& ) const { } diff --git a/src/RWStepVisual/RWStepVisual_RWColour.cxx b/src/RWStepVisual/RWStepVisual_RWColour.cxx index 2d00a8f0f3..5a1b504713 100755 --- a/src/RWStepVisual/RWStepVisual_RWColour.cxx +++ b/src/RWStepVisual/RWStepVisual_RWColour.cxx @@ -25,7 +25,7 @@ void RWStepVisual_RWColour::ReadStep (const Handle(StepData_StepReaderData)& data, const Standard_Integer num, Handle(Interface_Check)& ach, - const Handle(StepVisual_Colour)& ent) const + const Handle(StepVisual_Colour)& /*ent*/) const { // --- Number of Parameter Control --- @@ -35,7 +35,7 @@ void RWStepVisual_RWColour::ReadStep } void RWStepVisual_RWColour::WriteStep - (StepData_StepWriter& SW, - const Handle(StepVisual_Colour)& ent) const + (StepData_StepWriter& /*SW*/, + const Handle(StepVisual_Colour)& /*ent*/) const { } diff --git a/src/RWStepVisual/RWStepVisual_RWPresentationSet.cxx b/src/RWStepVisual/RWStepVisual_RWPresentationSet.cxx index 73ff81654c..88b2d5a4fd 100755 --- a/src/RWStepVisual/RWStepVisual_RWPresentationSet.cxx +++ b/src/RWStepVisual/RWStepVisual_RWPresentationSet.cxx @@ -25,7 +25,7 @@ void RWStepVisual_RWPresentationSet::ReadStep (const Handle(StepData_StepReaderData)& data, const Standard_Integer num, Handle(Interface_Check)& ach, - const Handle(StepVisual_PresentationSet)& ent) const + const Handle(StepVisual_PresentationSet)& /*ent*/) const { @@ -37,8 +37,8 @@ void RWStepVisual_RWPresentationSet::ReadStep } void RWStepVisual_RWPresentationSet::WriteStep -(StepData_StepWriter& SW, - const Handle(StepVisual_PresentationSet)& ent) const +(StepData_StepWriter& /*SW*/, + const Handle(StepVisual_PresentationSet)& /*ent*/) const { } diff --git a/src/STEPEdit/STEPEdit_EditContext.cxx b/src/STEPEdit/STEPEdit_EditContext.cxx index 773d979093..4cfa666841 100755 --- a/src/STEPEdit/STEPEdit_EditContext.cxx +++ b/src/STEPEdit/STEPEdit_EditContext.cxx @@ -51,14 +51,14 @@ TCollection_AsciiString STEPEdit_EditContext::Label () const { return TCollection_AsciiString ("STEP : Product Definition Context"); } Standard_Boolean STEPEdit_EditContext::Recognize -(const Handle(IFSelect_EditForm)& form) const +(const Handle(IFSelect_EditForm)& /*form*/) const { // il faut 17 parametres return Standard_True; } Handle(TCollection_HAsciiString) STEPEdit_EditContext::StringValue -(const Handle(IFSelect_EditForm)& form, const Standard_Integer num) const +(const Handle(IFSelect_EditForm)& /*form*/, const Standard_Integer num) const { Handle(TCollection_HAsciiString) str; switch (num) { @@ -75,7 +75,7 @@ Handle(TCollection_HAsciiString) STEPEdit_EditContext::StringValue Standard_Boolean STEPEdit_EditContext::Load (const Handle(IFSelect_EditForm)& form, - const Handle(Standard_Transient)& ent, + const Handle(Standard_Transient)& /*ent*/, const Handle(Interface_InterfaceModel)& model) const { Handle(StepData_StepModel) modl = @@ -101,7 +101,7 @@ Standard_Boolean STEPEdit_EditContext::Load Standard_Boolean STEPEdit_EditContext::Apply (const Handle(IFSelect_EditForm)& form, - const Handle(Standard_Transient)& ent, + const Handle(Standard_Transient)& /*ent*/, const Handle(Interface_InterfaceModel)& model) const { Handle(StepData_StepModel) modl = diff --git a/src/STEPEdit/STEPEdit_EditSDR.cxx b/src/STEPEdit/STEPEdit_EditSDR.cxx index 98a96befb9..3eb775d3c4 100755 --- a/src/STEPEdit/STEPEdit_EditSDR.cxx +++ b/src/STEPEdit/STEPEdit_EditSDR.cxx @@ -66,14 +66,14 @@ TCollection_AsciiString STEPEdit_EditSDR::Label () const { return TCollection_AsciiString ("STEP : Product Data (SDR)"); } Standard_Boolean STEPEdit_EditSDR::Recognize -(const Handle(IFSelect_EditForm)& form) const +(const Handle(IFSelect_EditForm)& /*form*/) const { // il faut 10 parametres return Standard_True; } Handle(TCollection_HAsciiString) STEPEdit_EditSDR::StringValue -(const Handle(IFSelect_EditForm)& form, const Standard_Integer num) const +(const Handle(IFSelect_EditForm)& /*form*/, const Standard_Integer num) const { Handle(TCollection_HAsciiString) str; switch (num) { diff --git a/src/STEPSelections/STEPSelections_SelectAssembly.cxx b/src/STEPSelections/STEPSelections_SelectAssembly.cxx index 25f64f2150..d330b5a9e7 100755 --- a/src/STEPSelections/STEPSelections_SelectAssembly.cxx +++ b/src/STEPSelections/STEPSelections_SelectAssembly.cxx @@ -31,7 +31,7 @@ STEPSelections_SelectAssembly::STEPSelections_SelectAssembly():IFSelect_SelectExplore (-1){ } -Standard_Boolean STEPSelections_SelectAssembly::Explore(const Standard_Integer level, +Standard_Boolean STEPSelections_SelectAssembly::Explore(const Standard_Integer /*level*/, const Handle(Standard_Transient)& start, const Interface_Graph& G, Interface_EntityIterator& explored) const diff --git a/src/STEPSelections/STEPSelections_SelectDerived.cxx b/src/STEPSelections/STEPSelections_SelectDerived.cxx index a43db079de..748c7d350c 100755 --- a/src/STEPSelections/STEPSelections_SelectDerived.cxx +++ b/src/STEPSelections/STEPSelections_SelectDerived.cxx @@ -46,9 +46,9 @@ static Handle(Standard_Type) GetStepType(const Handle(StepData_ReadWriteModule)& Standard_Boolean STEPSelections_SelectDerived::Matches(const Handle(Standard_Transient)& ent, - const Handle(Interface_InterfaceModel)& model, + const Handle(Interface_InterfaceModel)& /*model*/, const TCollection_AsciiString& text, - const Standard_Boolean exact) const + const Standard_Boolean /*exact*/) const { Standard_Integer CN; Handle(StepData_ReadWriteModule) module; diff --git a/src/STEPSelections/STEPSelections_SelectFaces.cxx b/src/STEPSelections/STEPSelections_SelectFaces.cxx index 9dfa467584..6ecce3c802 100755 --- a/src/STEPSelections/STEPSelections_SelectFaces.cxx +++ b/src/STEPSelections/STEPSelections_SelectFaces.cxx @@ -29,7 +29,7 @@ STEPSelections_SelectFaces::STEPSelections_SelectFaces():IFSelect_SelectExplore (-1){ } -Standard_Boolean STEPSelections_SelectFaces::Explore(const Standard_Integer level, +Standard_Boolean STEPSelections_SelectFaces::Explore(const Standard_Integer /*level*/, const Handle(Standard_Transient)& start, const Interface_Graph& G, Interface_EntityIterator& explored) const diff --git a/src/STEPSelections/STEPSelections_SelectGSCurves.cxx b/src/STEPSelections/STEPSelections_SelectGSCurves.cxx index f9b0b98dcc..7f730b3437 100755 --- a/src/STEPSelections/STEPSelections_SelectGSCurves.cxx +++ b/src/STEPSelections/STEPSelections_SelectGSCurves.cxx @@ -30,7 +30,7 @@ static Standard_Integer flag; STEPSelections_SelectGSCurves::STEPSelections_SelectGSCurves():IFSelect_SelectExplore (-1){ flag = 1;} -Standard_Boolean STEPSelections_SelectGSCurves::Explore(const Standard_Integer level, +Standard_Boolean STEPSelections_SelectGSCurves::Explore(const Standard_Integer /*level*/, const Handle(Standard_Transient)& start, const Interface_Graph& G, Interface_EntityIterator& explored) const diff --git a/src/STEPSelections/STEPSelections_SelectInstances.cxx b/src/STEPSelections/STEPSelections_SelectInstances.cxx index 2e8260dd6c..093b315512 100755 --- a/src/STEPSelections/STEPSelections_SelectInstances.cxx +++ b/src/STEPSelections/STEPSelections_SelectInstances.cxx @@ -163,10 +163,10 @@ Interface_EntityIterator STEPSelections_SelectInstances::RootResult(const Interf } -Standard_Boolean STEPSelections_SelectInstances::Explore(const Standard_Integer level, - const Handle(Standard_Transient)& start, - const Interface_Graph& G, - Interface_EntityIterator& explored) const +Standard_Boolean STEPSelections_SelectInstances::Explore(const Standard_Integer, + const Handle(Standard_Transient)&, + const Interface_Graph&, + Interface_EntityIterator&) const { return Standard_False; } diff --git a/src/Select3D/Select3D_SensitiveBox.cxx b/src/Select3D/Select3D_SensitiveBox.cxx index ddb069a096..c2cf79a9fb 100755 --- a/src/Select3D/Select3D_SensitiveBox.cxx +++ b/src/Select3D/Select3D_SensitiveBox.cxx @@ -138,9 +138,9 @@ Matches (const Standard_Real XMin, //======================================================================= Standard_Boolean Select3D_SensitiveBox:: -Matches (const TColgp_Array1OfPnt2d& aPoly, +Matches (const TColgp_Array1OfPnt2d& /*aPoly*/, const Bnd_Box2d& aBox, - const Standard_Real aTol) + const Standard_Real /*aTol*/) { return(!aBox.IsOut(mybox2d)); } diff --git a/src/Select3D/Select3D_SensitiveEntity.cxx b/src/Select3D/Select3D_SensitiveEntity.cxx index df6595f062..145671c977 100755 --- a/src/Select3D/Select3D_SensitiveEntity.cxx +++ b/src/Select3D/Select3D_SensitiveEntity.cxx @@ -55,8 +55,8 @@ void Select3D_SensitiveEntity::Project(const Handle(Select3D_Projector)& aPrj) Standard_Boolean Select3D_SensitiveEntity::Matches(const Standard_Real X, const Standard_Real Y, - const Standard_Real aTol, - Standard_Real& DMin) + const Standard_Real /*aTol*/, + Standard_Real& /*DMin*/) { if (!mylastprj.IsNull()) { @@ -76,11 +76,11 @@ Standard_Boolean Select3D_SensitiveEntity::Matches(const Standard_Real X, //purpose : //======================================================================= -Standard_Boolean Select3D_SensitiveEntity::Matches(const Standard_Real XMin, - const Standard_Real YMin, - const Standard_Real XMax, - const Standard_Real YMax, - const Standard_Real aTol) +Standard_Boolean Select3D_SensitiveEntity::Matches(const Standard_Real, + const Standard_Real, + const Standard_Real, + const Standard_Real, + const Standard_Real) { return Standard_False; } @@ -90,9 +90,9 @@ Standard_Boolean Select3D_SensitiveEntity::Matches(const Standard_Real XMin, //purpose : //======================================================================= -Standard_Boolean Select3D_SensitiveEntity::Matches(const TColgp_Array1OfPnt2d& aPoly, - const Bnd_Box2d& /*aBox*/, - const Standard_Real aTol) +Standard_Boolean Select3D_SensitiveEntity::Matches(const TColgp_Array1OfPnt2d&, + const Bnd_Box2d&, + const Standard_Real) { return Standard_False; } @@ -102,7 +102,7 @@ Standard_Boolean Select3D_SensitiveEntity::Matches(const TColgp_Array1OfPnt2d& a //purpose : //======================================================================= -void Select3D_SensitiveEntity::Dump(Standard_OStream& S,const Standard_Boolean FullDump) const +void Select3D_SensitiveEntity::Dump(Standard_OStream& S, const Standard_Boolean) const { S<<"\tSensitive Entity 3D"<Unhighlight(mySelectable,aMode); } -void SelectMgr_EntityOwner::Clear(const Handle(PrsMgr_PresentationManager)& PM, - const Standard_Integer aMode) +void SelectMgr_EntityOwner::Clear(const Handle(PrsMgr_PresentationManager)&, + const Standard_Integer) { // nothing done on the selectable here... } @@ -155,7 +155,7 @@ Standard_Boolean SelectMgr_EntityOwner::IsForcedHilight () const //purpose : //======================================================================= void SelectMgr_EntityOwner::SetZLayer - (const Handle(PrsMgr_PresentationManager)& thePrsMgr, - const Standard_Integer theLayerId) + (const Handle(PrsMgr_PresentationManager)&, + const Standard_Integer) { } diff --git a/src/SelectMgr/SelectMgr_Filter.cxx b/src/SelectMgr/SelectMgr_Filter.cxx index a032dd96d3..cfdc5ea6ba 100755 --- a/src/SelectMgr/SelectMgr_Filter.cxx +++ b/src/SelectMgr/SelectMgr_Filter.cxx @@ -23,5 +23,5 @@ #include -Standard_Boolean SelectMgr_Filter::ActsOn(const TopAbs_ShapeEnum aStandardMode) const +Standard_Boolean SelectMgr_Filter::ActsOn(const TopAbs_ShapeEnum /*aStandardMode*/) const {return Standard_False;} diff --git a/src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx b/src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx index fb50b3a24c..13f508b1a7 100644 --- a/src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx +++ b/src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx @@ -506,7 +506,7 @@ static TopoDS_Edge GlueEdgesWithPCurves(const TopTools_SequenceOfShape& aChain, //purpose : auxilary //======================================================================= static Standard_Boolean MergeEdges(const TopTools_SequenceOfShape& SeqEdges, - const TopoDS_Face& aFace, + const TopoDS_Face& /*aFace*/, const Standard_Real Tol, const Standard_Boolean ConcatBSplines, TopoDS_Edge& anEdge) diff --git a/src/StdPrs/StdPrs_PoleCurve.cxx b/src/StdPrs/StdPrs_PoleCurve.cxx index 2280e9a0b6..381400c640 100755 --- a/src/StdPrs/StdPrs_PoleCurve.cxx +++ b/src/StdPrs/StdPrs_PoleCurve.cxx @@ -88,7 +88,7 @@ Standard_Boolean StdPrs_PoleCurve::Match(const Quantity_Length X, const Quantity_Length Z, const Quantity_Length aDistance, const Adaptor3d_Curve& aCurve, - const Handle (Prs3d_Drawer)& aDrawer) + const Handle (Prs3d_Drawer)& /*aDrawer*/) { GeomAbs_CurveType CType = aCurve.GetType(); Standard_Integer i, Nb = 0; @@ -125,7 +125,7 @@ Standard_Integer StdPrs_PoleCurve::Pick const Quantity_Length Z, const Quantity_Length aDistance, const Adaptor3d_Curve& aCurve, - const Handle(Prs3d_Drawer)& aDrawer) + const Handle(Prs3d_Drawer)& /*aDrawer*/) { Standard_Real x, y, z, DistMin = RealLast(); Standard_Integer num = 0, i, Nb = 0; diff --git a/src/StdSelect/StdSelect.cxx b/src/StdSelect/StdSelect.cxx index 81f49c82f8..7241810f78 100755 --- a/src/StdSelect/StdSelect.cxx +++ b/src/StdSelect/StdSelect.cxx @@ -65,8 +65,8 @@ Handle(Select3D_Projector) StdSelect::GetProjector(const Handle(V3d_View)& aViou //purpose : //======================================================================= -void StdSelect::SetDrawerForBRepOwner(const Handle(SelectMgr_Selection)& Sel, - const Handle(Prs3d_Drawer)& Drwr) +void StdSelect::SetDrawerForBRepOwner(const Handle(SelectMgr_Selection)& /*Sel*/, + const Handle(Prs3d_Drawer)& /*Drwr*/) { // Handle(StdSelect_BRepOwner) BROWN; diff --git a/src/StdSelect/StdSelect_BRepSelectionTool.cxx b/src/StdSelect/StdSelect_BRepSelectionTool.cxx index 57dca4231c..713fc992c4 100755 --- a/src/StdSelect/StdSelect_BRepSelectionTool.cxx +++ b/src/StdSelect/StdSelect_BRepSelectionTool.cxx @@ -581,7 +581,7 @@ Standard_Boolean StdSelect_BRepSelectionTool ::GetSensitiveForFace (const TopoDS_Face& theFace, const Handle(StdSelect_BRepOwner)& theOwner, Select3D_ListOfSensitive& theSensitiveList, - const Standard_Boolean theAutoTriangulation, + const Standard_Boolean /*theAutoTriangulation*/, const Standard_Integer NbPOnEdge, const Standard_Real theMaxParam, const Standard_Boolean theInteriorFlag) diff --git a/src/StdSelect/StdSelect_Shape.cxx b/src/StdSelect/StdSelect_Shape.cxx index 044cf2db8d..efa28f10dc 100755 --- a/src/StdSelect/StdSelect_Shape.cxx +++ b/src/StdSelect/StdSelect_Shape.cxx @@ -35,7 +35,7 @@ StdSelect_Shape::StdSelect_Shape(const TopoDS_Shape& sh): mysh(sh) {} -void StdSelect_Shape::Compute(const Handle(PrsMgr_PresentationManager3d)& PM, +void StdSelect_Shape::Compute(const Handle(PrsMgr_PresentationManager3d)& /*PM*/, const Handle(Prs3d_Presentation)& P, const Standard_Integer aMode) { diff --git a/src/StepBasic/StepBasic_SizeMember.cxx b/src/StepBasic/StepBasic_SizeMember.cxx index f198055c58..51c9bb738b 100755 --- a/src/StepBasic/StepBasic_SizeMember.cxx +++ b/src/StepBasic/StepBasic_SizeMember.cxx @@ -25,5 +25,5 @@ StepBasic_SizeMember::StepBasic_SizeMember () { } Standard_CString StepBasic_SizeMember::Name () const { return "POSITIVE_LENGTH_MEASURE"; } - Standard_Boolean StepBasic_SizeMember::SetName (const Standard_CString name) + Standard_Boolean StepBasic_SizeMember::SetName (const Standard_CString /*name*/) { return Standard_True; } diff --git a/src/StepData/StepData_DefaultGeneral.cxx b/src/StepData/StepData_DefaultGeneral.cxx index 0031499d9f..10e54ea1a6 100755 --- a/src/StepData/StepData_DefaultGeneral.cxx +++ b/src/StepData/StepData_DefaultGeneral.cxx @@ -52,10 +52,10 @@ StepData_DefaultGeneral::StepData_DefaultGeneral () } -void StepData_DefaultGeneral::CheckCase(const Standard_Integer casenum, - const Handle(Standard_Transient)& ent, - const Interface_ShareTool& shares, - Handle(Interface_Check)& /*ach*/) const +void StepData_DefaultGeneral::CheckCase(const Standard_Integer, + const Handle(Standard_Transient)&, + const Interface_ShareTool&, + Handle(Interface_Check)&) const { } // pas de Check sur une UndefinedEntity diff --git a/src/StepData/StepData_DescrGeneral.cxx b/src/StepData/StepData_DescrGeneral.cxx index 5c689e477f..bbdc3cf011 100755 --- a/src/StepData/StepData_DescrGeneral.cxx +++ b/src/StepData/StepData_DescrGeneral.cxx @@ -26,7 +26,7 @@ StepData_DescrGeneral::StepData_DescrGeneral void StepData_DescrGeneral::FillSharedCase - (const Standard_Integer CN, const Handle(Standard_Transient)& ent, + (const Standard_Integer, const Handle(Standard_Transient)& ent, Interface_EntityIterator& iter) const { Handle(StepData_Described) ds = Handle(StepData_Described)::DownCast(ent); @@ -34,20 +34,22 @@ StepData_DescrGeneral::StepData_DescrGeneral } -void StepData_DescrGeneral::CheckCase(const Standard_Integer CN, - const Handle(Standard_Transient)& ent, - const Interface_ShareTool& shares, - Handle(Interface_Check)& /*ach*/) const +void StepData_DescrGeneral::CheckCase(const Standard_Integer , + const Handle(Standard_Transient)&, + const Interface_ShareTool&, + Handle(Interface_Check)&) const { } // pour l instant - void StepData_DescrGeneral::CopyCase - (const Standard_Integer CN, const Handle(Standard_Transient)& entfrom, - const Handle(Standard_Transient)& entto, Interface_CopyTool& TC) const -{ } // pour l instant +void StepData_DescrGeneral::CopyCase(const Standard_Integer, + const Handle(Standard_Transient)&, + const Handle(Standard_Transient)&, + Interface_CopyTool&) const +{ +} // pour l instant - Standard_Boolean StepData_DescrGeneral::NewVoid +Standard_Boolean StepData_DescrGeneral::NewVoid (const Standard_Integer CN, Handle(Standard_Transient)& ent) const { ent = theproto->Descr(CN)->NewEntity(); diff --git a/src/StepData/StepData_FieldList.cxx b/src/StepData/StepData_FieldList.cxx index 75cfc03e20..3ec50ac34b 100755 --- a/src/StepData/StepData_FieldList.cxx +++ b/src/StepData/StepData_FieldList.cxx @@ -26,13 +26,13 @@ StepData_FieldList::StepData_FieldList () { } Standard_Integer StepData_FieldList::NbFields () const { return 0; } -const StepData_Field& StepData_FieldList::Field (const Standard_Integer num) const +const StepData_Field& StepData_FieldList::Field (const Standard_Integer) const { Standard_OutOfRange::Raise("StepData_FieldList : Field"); return nulfild; } -StepData_Field& StepData_FieldList::CField (const Standard_Integer num) +StepData_Field& StepData_FieldList::CField (const Standard_Integer) { Standard_OutOfRange::Raise("StepData_FieldList : CField"); return nulfild; diff --git a/src/StepData/StepData_FileProtocol.cxx b/src/StepData/StepData_FileProtocol.cxx index eac227b9b8..0288a276e9 100755 --- a/src/StepData/StepData_FileProtocol.cxx +++ b/src/StepData/StepData_FileProtocol.cxx @@ -47,7 +47,7 @@ static Standard_CString thename = ""; Standard_Integer StepData_FileProtocol::TypeNumber - (const Handle(Standard_Type)& atype) const + (const Handle(Standard_Type)& /*atype*/) const { return 0; } diff --git a/src/StepData/StepData_PDescr.cxx b/src/StepData/StepData_PDescr.cxx index b2fd152cf4..0f26b79a79 100755 --- a/src/StepData/StepData_PDescr.cxx +++ b/src/StepData/StepData_PDescr.cxx @@ -223,7 +223,7 @@ StepData_PDescr::StepData_PDescr () { return thefnum; } -void StepData_PDescr::Check(const StepData_Field& afild, +void StepData_PDescr::Check(const StepData_Field& /*afild*/, Handle(Interface_Check)& /*ach*/) const { // pour l instant ... diff --git a/src/StepData/StepData_ReadWriteModule.cxx b/src/StepData/StepData_ReadWriteModule.cxx index 71f729697f..c2519d6f04 100755 --- a/src/StepData/StepData_ReadWriteModule.cxx +++ b/src/StepData/StepData_ReadWriteModule.cxx @@ -37,22 +37,26 @@ Standard_Integer StepData_ReadWriteModule::CaseNum return CaseStep (stepdat->RecordType(num)); } - Standard_Integer StepData_ReadWriteModule::CaseStep - (const TColStd_SequenceOfAsciiString& types) const - { return 0; } // par defaut +Standard_Integer StepData_ReadWriteModule::CaseStep (const TColStd_SequenceOfAsciiString&) const +{ + return 0; +} // par defaut - Standard_Boolean StepData_ReadWriteModule::IsComplex - (const Standard_Integer CN) const - { return Standard_False; } // par defaut +Standard_Boolean StepData_ReadWriteModule::IsComplex (const Standard_Integer) const +{ + return Standard_False; +} // par defaut - TCollection_AsciiString StepData_ReadWriteModule::ShortType - (const Standard_Integer ) const - { return TCollection_AsciiString(""); } // par defaut vide +TCollection_AsciiString StepData_ReadWriteModule::ShortType (const Standard_Integer ) const +{ + return TCollection_AsciiString(""); +} // par defaut vide - Standard_Boolean StepData_ReadWriteModule::ComplexType - (const Standard_Integer , - TColStd_SequenceOfAsciiString& ) const - { return Standard_False; } +Standard_Boolean StepData_ReadWriteModule::ComplexType (const Standard_Integer , + TColStd_SequenceOfAsciiString& ) const +{ + return Standard_False; +} //======================================================================= diff --git a/src/StepData/StepData_SelectMember.cxx b/src/StepData/StepData_SelectMember.cxx index c2d1217ef3..0ec37f6f89 100755 --- a/src/StepData/StepData_SelectMember.cxx +++ b/src/StepData/StepData_SelectMember.cxx @@ -32,7 +32,7 @@ StepData_SelectMember::StepData_SelectMember () { } Standard_Boolean StepData_SelectMember::HasName () const { return Standard_False; } Standard_CString StepData_SelectMember::Name () const { return ""; } - Standard_Boolean StepData_SelectMember::SetName (const Standard_CString bid) + Standard_Boolean StepData_SelectMember::SetName (const Standard_CString /*bid*/) { return Standard_False; } Standard_Boolean StepData_SelectMember::Matches (const Standard_CString name) const @@ -88,14 +88,16 @@ Interface_ParamType StepData_SelectMember::ParamType () const Standard_Integer StepData_SelectMember::Enum () const { return Int(); } Standard_CString StepData_SelectMember::EnumText () const { return String(); } - void StepData_SelectMember::SetEnum - (const Standard_Integer val, const Standard_CString text) +void StepData_SelectMember::SetEnum (const Standard_Integer val, + const Standard_CString text) { SetKind(KindEnum); SetInt(val); if (text && text[0] != '\0') SetEnumText(val,text); } - void StepData_SelectMember::SetEnumText - (const Standard_Integer val, const Standard_CString text) - { SetString(text); } +void StepData_SelectMember::SetEnumText (const Standard_Integer /*val*/, + const Standard_CString text) +{ + SetString(text); +} diff --git a/src/StepData/StepData_SelectType.cxx b/src/StepData/StepData_SelectType.cxx index 8ef3a15f06..d420e448d8 100755 --- a/src/StepData/StepData_SelectType.cxx +++ b/src/StepData/StepData_SelectType.cxx @@ -69,7 +69,7 @@ Standard_Boolean StepData_SelectType::Matches Handle(StepData_SelectMember) StepData_SelectType::NewMember () const { Handle(StepData_SelectMember) nulmem; return nulmem; } - Standard_Integer StepData_SelectType::CaseMem (const Handle(StepData_SelectMember)& ent) const + Standard_Integer StepData_SelectType::CaseMem (const Handle(StepData_SelectMember)& /*ent*/) const { return 0; } Standard_Integer StepData_SelectType::CaseMember () const diff --git a/src/StepData/StepData_StepWriter.cxx b/src/StepData/StepData_StepWriter.cxx index 05450c37c1..2d6a835c1c 100755 --- a/src/StepData/StepData_StepWriter.cxx +++ b/src/StepData/StepData_StepWriter.cxx @@ -413,21 +413,8 @@ void StepData_StepWriter::NewLine (const Standard_Boolean evenempty) //purpose : //======================================================================= -void StepData_StepWriter::JoinLast (const Standard_Boolean newline) +void StepData_StepWriter::JoinLast (const Standard_Boolean) { -/* - Handle(TCollection_HAsciiString) lst = thefile->Last(); - Standard_Integer lng = lst->Length(); - if (thecurr.Length() == 0) return; - if (lng + thecurr.Length() > StepLong) return; - if (lst->Value(1) == '#' || lst->Search(";") > 0) return; - lst->AssignCat(thecurr.Moved()); - if (!newline) { - thecurr.Add (lst->ToCString(),lst->Length()); - thefile->Remove(thefile->Length()); - thecurr.SetInitial(0); .. inclus dans lst ... - } -*/ thecurr.SetKeep(); } @@ -653,7 +640,7 @@ void StepData_StepWriter::SendField(const StepData_Field& fild, //======================================================================= void StepData_StepWriter::SendSelect(const Handle(StepData_SelectMember)& sm, - const Handle(StepData_PDescr)& descr) + const Handle(StepData_PDescr)& /*descr*/) { // Cas du SelectMember. Traiter le Select puis la valeur // NB : traitement actuel non recursif (pas de SELNAME(SELNAME(..)) ) diff --git a/src/StepElement/StepElement_CurveElementFreedom.cxx b/src/StepElement/StepElement_CurveElementFreedom.cxx index 34a3cfe0b2..0629e830ba 100755 --- a/src/StepElement/StepElement_CurveElementFreedom.cxx +++ b/src/StepElement/StepElement_CurveElementFreedom.cxx @@ -39,7 +39,7 @@ StepElement_CurveElementFreedom::StepElement_CurveElementFreedom () //purpose : //======================================================================= -Standard_Integer StepElement_CurveElementFreedom::CaseNum (const Handle(Standard_Transient)& ent) const +Standard_Integer StepElement_CurveElementFreedom::CaseNum (const Handle(Standard_Transient)& /*ent*/) const { return 0; } diff --git a/src/StepElement/StepElement_CurveElementFreedomMember.cxx b/src/StepElement/StepElement_CurveElementFreedomMember.cxx index 0812f86480..dbfe0ae547 100755 --- a/src/StepElement/StepElement_CurveElementFreedomMember.cxx +++ b/src/StepElement/StepElement_CurveElementFreedomMember.cxx @@ -64,7 +64,7 @@ Standard_CString StepElement_CurveElementFreedomMember::Name() const //purpose : //======================================================================= -static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &numen) +static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &/*numen*/) { Standard_Integer thecase =0; if (!name || name[0] == '\0') thecase = 0; diff --git a/src/StepElement/StepElement_CurveElementPurpose.cxx b/src/StepElement/StepElement_CurveElementPurpose.cxx index 75a12e5540..d380afdec5 100755 --- a/src/StepElement/StepElement_CurveElementPurpose.cxx +++ b/src/StepElement/StepElement_CurveElementPurpose.cxx @@ -37,7 +37,7 @@ StepElement_CurveElementPurpose::StepElement_CurveElementPurpose () //purpose : //======================================================================= -Standard_Integer StepElement_CurveElementPurpose::CaseNum (const Handle(Standard_Transient)& ent) const +Standard_Integer StepElement_CurveElementPurpose::CaseNum (const Handle(Standard_Transient)& /*ent*/) const { return 0; } diff --git a/src/StepElement/StepElement_CurveElementPurposeMember.cxx b/src/StepElement/StepElement_CurveElementPurposeMember.cxx index 0978258592..4bce5c90f0 100755 --- a/src/StepElement/StepElement_CurveElementPurposeMember.cxx +++ b/src/StepElement/StepElement_CurveElementPurposeMember.cxx @@ -65,7 +65,7 @@ Standard_CString StepElement_CurveElementPurposeMember::Name() const //purpose : //======================================================================= -static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &numen) +static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &/*numen*/) { Standard_Integer thecase =0; if (!name || name[0] == '\0') thecase = 0; diff --git a/src/StepElement/StepElement_ElementAspect.cxx b/src/StepElement/StepElement_ElementAspect.cxx index fcaa36fd90..b91d71c934 100755 --- a/src/StepElement/StepElement_ElementAspect.cxx +++ b/src/StepElement/StepElement_ElementAspect.cxx @@ -37,7 +37,7 @@ StepElement_ElementAspect::StepElement_ElementAspect () //purpose : //======================================================================= -Standard_Integer StepElement_ElementAspect::CaseNum (const Handle(Standard_Transient)& ent) const +Standard_Integer StepElement_ElementAspect::CaseNum (const Handle(Standard_Transient)& /*ent*/) const { return 0; } diff --git a/src/StepElement/StepElement_MeasureOrUnspecifiedValue.cxx b/src/StepElement/StepElement_MeasureOrUnspecifiedValue.cxx index cdca64ab97..3ad7580c9a 100755 --- a/src/StepElement/StepElement_MeasureOrUnspecifiedValue.cxx +++ b/src/StepElement/StepElement_MeasureOrUnspecifiedValue.cxx @@ -41,7 +41,7 @@ StepElement_MeasureOrUnspecifiedValue::StepElement_MeasureOrUnspecifiedValue () //purpose : //======================================================================= -Standard_Integer StepElement_MeasureOrUnspecifiedValue::CaseNum (const Handle(Standard_Transient)& ent) const +Standard_Integer StepElement_MeasureOrUnspecifiedValue::CaseNum (const Handle(Standard_Transient)& /*ent*/) const { return 0; } diff --git a/src/StepElement/StepElement_MeasureOrUnspecifiedValueMember.cxx b/src/StepElement/StepElement_MeasureOrUnspecifiedValueMember.cxx index e6c8913cf2..f3daf918ab 100755 --- a/src/StepElement/StepElement_MeasureOrUnspecifiedValueMember.cxx +++ b/src/StepElement/StepElement_MeasureOrUnspecifiedValueMember.cxx @@ -65,7 +65,7 @@ Standard_CString StepElement_MeasureOrUnspecifiedValueMember::Name() const //purpose : //======================================================================= -static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &numen) +static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &/*numen*/) { Standard_Integer thecase =0; if (!name || name[0] == '\0') thecase = 0; diff --git a/src/StepElement/StepElement_SurfaceElementPurpose.cxx b/src/StepElement/StepElement_SurfaceElementPurpose.cxx index 826df3674d..a13266aa9d 100755 --- a/src/StepElement/StepElement_SurfaceElementPurpose.cxx +++ b/src/StepElement/StepElement_SurfaceElementPurpose.cxx @@ -37,7 +37,7 @@ StepElement_SurfaceElementPurpose::StepElement_SurfaceElementPurpose () //purpose : //======================================================================= -Standard_Integer StepElement_SurfaceElementPurpose::CaseNum (const Handle(Standard_Transient)& ent) const +Standard_Integer StepElement_SurfaceElementPurpose::CaseNum (const Handle(Standard_Transient)& /*ent*/) const { return 0; } diff --git a/src/StepElement/StepElement_SurfaceElementPurposeMember.cxx b/src/StepElement/StepElement_SurfaceElementPurposeMember.cxx index 29433e0fc7..459479be34 100755 --- a/src/StepElement/StepElement_SurfaceElementPurposeMember.cxx +++ b/src/StepElement/StepElement_SurfaceElementPurposeMember.cxx @@ -65,7 +65,7 @@ Standard_CString StepElement_SurfaceElementPurposeMember::Name() const //purpose : //======================================================================= -static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &numen) +static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &/*numen*/) { Standard_Integer thecase =0; if (!name || name[0] == '\0') thecase = 0; diff --git a/src/StepElement/StepElement_VolumeElementPurpose.cxx b/src/StepElement/StepElement_VolumeElementPurpose.cxx index ec875b0ca3..706fd7822c 100755 --- a/src/StepElement/StepElement_VolumeElementPurpose.cxx +++ b/src/StepElement/StepElement_VolumeElementPurpose.cxx @@ -37,7 +37,7 @@ StepElement_VolumeElementPurpose::StepElement_VolumeElementPurpose () //purpose : //======================================================================= -Standard_Integer StepElement_VolumeElementPurpose::CaseNum (const Handle(Standard_Transient)& ent) const +Standard_Integer StepElement_VolumeElementPurpose::CaseNum (const Handle(Standard_Transient)& /*ent*/) const { return 0; } diff --git a/src/StepElement/StepElement_VolumeElementPurposeMember.cxx b/src/StepElement/StepElement_VolumeElementPurposeMember.cxx index 89a974f6a1..e165297e2d 100755 --- a/src/StepElement/StepElement_VolumeElementPurposeMember.cxx +++ b/src/StepElement/StepElement_VolumeElementPurposeMember.cxx @@ -65,7 +65,7 @@ Standard_CString StepElement_VolumeElementPurposeMember::Name() const //purpose : //======================================================================= -static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &numen) +static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &/*numen*/) { Standard_Integer thecase =0; if (!name || name[0] == '\0') thecase = 0; diff --git a/src/StepFEA/StepFEA_DegreeOfFreedom.cxx b/src/StepFEA/StepFEA_DegreeOfFreedom.cxx index 530bbd0d30..a46a8be71a 100755 --- a/src/StepFEA/StepFEA_DegreeOfFreedom.cxx +++ b/src/StepFEA/StepFEA_DegreeOfFreedom.cxx @@ -37,7 +37,7 @@ StepFEA_DegreeOfFreedom::StepFEA_DegreeOfFreedom () //purpose : //======================================================================= -Standard_Integer StepFEA_DegreeOfFreedom::CaseNum (const Handle(Standard_Transient)& ent) const +Standard_Integer StepFEA_DegreeOfFreedom::CaseNum (const Handle(Standard_Transient)& /*ent*/) const { return 0; } diff --git a/src/StepFEA/StepFEA_DegreeOfFreedomMember.cxx b/src/StepFEA/StepFEA_DegreeOfFreedomMember.cxx index eca79fc62c..e69087bf96 100755 --- a/src/StepFEA/StepFEA_DegreeOfFreedomMember.cxx +++ b/src/StepFEA/StepFEA_DegreeOfFreedomMember.cxx @@ -64,7 +64,7 @@ Standard_CString StepFEA_DegreeOfFreedomMember::Name() const //purpose : //======================================================================= -static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &numen) +static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &/*numen*/) { Standard_Integer thecase =0; if (!name || name[0] == '\0') thecase = 0; diff --git a/src/StepFEA/StepFEA_SymmetricTensor23d.cxx b/src/StepFEA/StepFEA_SymmetricTensor23d.cxx index 3914c895df..8e80159633 100755 --- a/src/StepFEA/StepFEA_SymmetricTensor23d.cxx +++ b/src/StepFEA/StepFEA_SymmetricTensor23d.cxx @@ -37,7 +37,7 @@ StepFEA_SymmetricTensor23d::StepFEA_SymmetricTensor23d () //purpose : //======================================================================= -Standard_Integer StepFEA_SymmetricTensor23d::CaseNum (const Handle(Standard_Transient)& ent) const +Standard_Integer StepFEA_SymmetricTensor23d::CaseNum (const Handle(Standard_Transient)& /*ent*/) const { return 0; } @@ -102,7 +102,7 @@ Standard_Real StepFEA_SymmetricTensor23d::IsotropicSymmetricTensor23d () const //purpose : //======================================================================= -void StepFEA_SymmetricTensor23d::SetOrthotropicSymmetricTensor23d (const Handle(TColStd_HArray1OfReal)& val) +void StepFEA_SymmetricTensor23d::SetOrthotropicSymmetricTensor23d (const Handle(TColStd_HArray1OfReal)& /*val*/) { Handle(StepFEA_SymmetricTensor23dMember) SelMem = Handle(StepFEA_SymmetricTensor23dMember)::DownCast(Value()); if(SelMem.IsNull()) return; @@ -133,7 +133,7 @@ Handle(TColStd_HArray1OfReal) StepFEA_SymmetricTensor23d::OrthotropicSymmetricTe //purpose : //======================================================================= -void StepFEA_SymmetricTensor23d::SetAnisotropicSymmetricTensor23d (const Handle(TColStd_HArray1OfReal)& val) +void StepFEA_SymmetricTensor23d::SetAnisotropicSymmetricTensor23d (const Handle(TColStd_HArray1OfReal)& /*val*/) { Handle(StepFEA_SymmetricTensor23dMember) SelMem = Handle(StepFEA_SymmetricTensor23dMember)::DownCast(Value()); if(SelMem.IsNull()) return; diff --git a/src/StepFEA/StepFEA_SymmetricTensor43d.cxx b/src/StepFEA/StepFEA_SymmetricTensor43d.cxx index 7505507f35..3016dfea70 100755 --- a/src/StepFEA/StepFEA_SymmetricTensor43d.cxx +++ b/src/StepFEA/StepFEA_SymmetricTensor43d.cxx @@ -37,7 +37,7 @@ StepFEA_SymmetricTensor43d::StepFEA_SymmetricTensor43d () //purpose : //======================================================================= -Standard_Integer StepFEA_SymmetricTensor43d::CaseNum (const Handle(Standard_Transient)& ent) const +Standard_Integer StepFEA_SymmetricTensor43d::CaseNum (const Handle(Standard_Transient)& /*ent*/) const { return 0; } diff --git a/src/StepGeom/StepGeom_TrimmingMember.cxx b/src/StepGeom/StepGeom_TrimmingMember.cxx index 482536d3e0..d19a146317 100755 --- a/src/StepGeom/StepGeom_TrimmingMember.cxx +++ b/src/StepGeom/StepGeom_TrimmingMember.cxx @@ -25,5 +25,5 @@ StepGeom_TrimmingMember::StepGeom_TrimmingMember () { } Standard_CString StepGeom_TrimmingMember::Name () const { return "PARAMETER_VALUE"; } - Standard_Boolean StepGeom_TrimmingMember::SetName (const Standard_CString name) + Standard_Boolean StepGeom_TrimmingMember::SetName (const Standard_CString /*name*/) { return Standard_True; } diff --git a/src/StepSelect/StepSelect_FloatFormat.cxx b/src/StepSelect/StepSelect_FloatFormat.cxx index f68097e803..b208ecaac4 100755 --- a/src/StepSelect/StepSelect_FloatFormat.cxx +++ b/src/StepSelect/StepSelect_FloatFormat.cxx @@ -74,7 +74,7 @@ StepSelect_FloatFormat::StepSelect_FloatFormat () void StepSelect_FloatFormat::Perform - (IFSelect_ContextWrite& ctx, + (IFSelect_ContextWrite& /*ctx*/, StepData_StepWriter& writer) const { writer.FloatWriter().SetFormat (themainform.ToCString()); diff --git a/src/StepSelect/StepSelect_StepType.cxx b/src/StepSelect/StepSelect_StepType.cxx index 0d75e96166..ae0e9e6d25 100755 --- a/src/StepSelect/StepSelect_StepType.cxx +++ b/src/StepSelect/StepSelect_StepType.cxx @@ -45,7 +45,7 @@ static TCollection_AsciiString lastvalue; Standard_CString StepSelect_StepType::Value (const Handle(Standard_Transient)& ent, - const Handle(Interface_InterfaceModel)& model) const + const Handle(Interface_InterfaceModel)& /*model*/) const { lastvalue.Clear(); Handle(StepData_ReadWriteModule) module; diff --git a/src/StepShape/StepShape_OrientedPath.cxx b/src/StepShape/StepShape_OrientedPath.cxx index c2c9b03e74..3122169785 100755 --- a/src/StepShape/StepShape_OrientedPath.cxx +++ b/src/StepShape/StepShape_OrientedPath.cxx @@ -63,7 +63,7 @@ Standard_Boolean StepShape_OrientedPath::Orientation() const return orientation; } -void StepShape_OrientedPath::SetEdgeList(const Handle(StepShape_HArray1OfOrientedEdge)& aEdgeList) +void StepShape_OrientedPath::SetEdgeList(const Handle(StepShape_HArray1OfOrientedEdge)& /*aEdgeList*/) { // WARNING : the field is redefined. // field set up forbidden. diff --git a/src/StepVisual/StepVisual_MarkerMember.cxx b/src/StepVisual/StepVisual_MarkerMember.cxx index 609d2b213b..ee09b44ac5 100755 --- a/src/StepVisual/StepVisual_MarkerMember.cxx +++ b/src/StepVisual/StepVisual_MarkerMember.cxx @@ -30,21 +30,25 @@ static StepData_EnumTool tool Standard_CString StepVisual_MarkerMember::Name () const { return "MARKER_TYPE"; } - Standard_Boolean StepVisual_MarkerMember::SetName (const Standard_CString name) + Standard_Boolean StepVisual_MarkerMember::SetName (const Standard_CString /*name*/) { return Standard_True; } Standard_CString StepVisual_MarkerMember::EnumText () const { return tool.Text(Int()).ToCString(); } - void StepVisual_MarkerMember::SetEnumText - (const Standard_Integer val, const Standard_CString text) +void StepVisual_MarkerMember::SetEnumText (const Standard_Integer /*val*/, + const Standard_CString text) { - Standard_Integer vl = tool.Value (text); - if (vl >= 0) SetInt (vl); + Standard_Integer vl = tool.Value (text); + if (vl >= 0) SetInt (vl); } - void StepVisual_MarkerMember::SetValue (const StepVisual_MarkerType val) - { SetInt ( Standard_Integer (val) ); } +void StepVisual_MarkerMember::SetValue (const StepVisual_MarkerType val) +{ + SetInt ( Standard_Integer (val) ); +} - StepVisual_MarkerType StepVisual_MarkerMember::Value () const - { return StepVisual_MarkerType (Int()); } +StepVisual_MarkerType StepVisual_MarkerMember::Value () const +{ + return StepVisual_MarkerType (Int()); +} diff --git a/src/StepVisual/StepVisual_MarkerSelect.cxx b/src/StepVisual/StepVisual_MarkerSelect.cxx index 6bc4e19b57..01a6926796 100755 --- a/src/StepVisual/StepVisual_MarkerSelect.cxx +++ b/src/StepVisual/StepVisual_MarkerSelect.cxx @@ -21,7 +21,7 @@ StepVisual_MarkerSelect::StepVisual_MarkerSelect () { } -Standard_Integer StepVisual_MarkerSelect::CaseNum(const Handle(Standard_Transient)& ent) const +Standard_Integer StepVisual_MarkerSelect::CaseNum(const Handle(Standard_Transient)& /*ent*/) const { return 0; } diff --git a/src/TDF/TDF_Attribute.cxx b/src/TDF/TDF_Attribute.cxx index 1410eb9eb4..f23caf782f 100755 --- a/src/TDF/TDF_Attribute.cxx +++ b/src/TDF/TDF_Attribute.cxx @@ -203,8 +203,8 @@ void TDF_Attribute::AfterResume() //======================================================================= Standard_Boolean TDF_Attribute::BeforeUndo -(const Handle(TDF_AttributeDelta)& anAttDelta, - const Standard_Boolean forceIt) +(const Handle(TDF_AttributeDelta)& /*anAttDelta*/, + const Standard_Boolean /*forceIt*/) { return Standard_True; } @@ -214,8 +214,8 @@ Standard_Boolean TDF_Attribute::BeforeUndo //======================================================================= Standard_Boolean TDF_Attribute::AfterUndo -(const Handle(TDF_AttributeDelta)& anAttDelta, - const Standard_Boolean forceIt) +(const Handle(TDF_AttributeDelta)& /*anAttDelta*/, + const Standard_Boolean /*forceIt*/) { return Standard_True; } @@ -225,7 +225,7 @@ Standard_Boolean TDF_Attribute::AfterUndo //======================================================================= Standard_Boolean TDF_Attribute::AfterRetrieval -(const Standard_Boolean forceIt) +(const Standard_Boolean /*forceIt*/) { return Standard_True; } #ifdef BUC60879 @@ -403,7 +403,7 @@ Standard_OStream& TDF_Attribute::Dump(Standard_OStream& anOS) const void TDF_Attribute::ExtendedDump (Standard_OStream& anOS, - const TDF_IDFilter& aFilter, - TDF_AttributeIndexedMap& aMap) const + const TDF_IDFilter& /*aFilter*/, + TDF_AttributeIndexedMap& /*aMap*/) const { Dump(anOS); } diff --git a/src/TDF/TDF_IDFilter.cxx b/src/TDF/TDF_IDFilter.cxx index f832a0ae8c..20008bd92c 100755 --- a/src/TDF/TDF_IDFilter.cxx +++ b/src/TDF/TDF_IDFilter.cxx @@ -50,7 +50,7 @@ myIgnore(ignoreMode) // the copy constructor. //======================================================================= -TDF_IDFilter::TDF_IDFilter(const TDF_IDFilter& aFilter) +TDF_IDFilter::TDF_IDFilter(const TDF_IDFilter& /*aFilter*/) {} diff --git a/src/TDF/TDF_TagSource.cxx b/src/TDF/TDF_TagSource.cxx index c817fe0e86..011ea33231 100755 --- a/src/TDF/TDF_TagSource.cxx +++ b/src/TDF/TDF_TagSource.cxx @@ -162,9 +162,8 @@ void TDF_TagSource::Restore(const Handle(TDF_Attribute)& With) //purpose : //======================================================================= -void TDF_TagSource::Paste ( - const Handle(TDF_Attribute)& Into, - const Handle(TDF_RelocationTable)& RT) const +void TDF_TagSource::Paste (const Handle(TDF_Attribute)& Into, + const Handle(TDF_RelocationTable)&) const { Handle(TDF_TagSource)::DownCast(Into)->Set (myTag); } diff --git a/src/TDF/TDF_Transaction.cxx b/src/TDF/TDF_Transaction.cxx index b39afaa30d..7644845e99 100755 --- a/src/TDF/TDF_Transaction.cxx +++ b/src/TDF/TDF_Transaction.cxx @@ -52,7 +52,7 @@ TDF_Transaction::TDF_Transaction //purpose : Private copy constructor. //======================================================================= -TDF_Transaction::TDF_Transaction(const TDF_Transaction& aTrans) +TDF_Transaction::TDF_Transaction(const TDF_Transaction& /*aTrans*/) {} diff --git a/src/TDataStd/TDataStd_Directory.cxx b/src/TDataStd/TDataStd_Directory.cxx index dcb745a0d3..246532bd88 100755 --- a/src/TDataStd/TDataStd_Directory.cxx +++ b/src/TDataStd/TDataStd_Directory.cxx @@ -137,7 +137,7 @@ Handle(TDF_Attribute) TDataStd_Directory::NewEmpty () const //purpose : //======================================================================= -void TDataStd_Directory::Restore(const Handle(TDF_Attribute)& with) +void TDataStd_Directory::Restore(const Handle(TDF_Attribute)&) { } @@ -146,8 +146,8 @@ void TDataStd_Directory::Restore(const Handle(TDF_Attribute)& with) //purpose : //======================================================================= -void TDataStd_Directory::Paste (const Handle(TDF_Attribute)& into, - const Handle(TDF_RelocationTable)& RT) const +void TDataStd_Directory::Paste (const Handle(TDF_Attribute)&, + const Handle(TDF_RelocationTable)& ) const { } @@ -156,7 +156,7 @@ void TDataStd_Directory::Paste (const Handle(TDF_Attribute)& into, //purpose : //======================================================================= -void TDataStd_Directory::References (const Handle(TDF_DataSet)& DS) const +void TDataStd_Directory::References (const Handle(TDF_DataSet)&) const { } diff --git a/src/TDataStd/TDataStd_Integer.cxx b/src/TDataStd/TDataStd_Integer.cxx index 29875c5d71..c8d65d1788 100755 --- a/src/TDataStd/TDataStd_Integer.cxx +++ b/src/TDataStd/TDataStd_Integer.cxx @@ -131,7 +131,7 @@ void TDataStd_Integer::Restore(const Handle(TDF_Attribute)& With) //======================================================================= void TDataStd_Integer::Paste (const Handle(TDF_Attribute)& Into, - const Handle(TDF_RelocationTable)& RT) const + const Handle(TDF_RelocationTable)& /*RT*/) const { Handle(TDataStd_Integer)::DownCast(Into)->Set(myValue); } diff --git a/src/TDataStd/TDataStd_Real.cxx b/src/TDataStd/TDataStd_Real.cxx index 8f0b75effd..64e93029cd 100755 --- a/src/TDataStd/TDataStd_Real.cxx +++ b/src/TDataStd/TDataStd_Real.cxx @@ -171,7 +171,7 @@ void TDataStd_Real::Restore(const Handle(TDF_Attribute)& With) //======================================================================= void TDataStd_Real::Paste (const Handle(TDF_Attribute)& Into, - const Handle(TDF_RelocationTable)& RT) const + const Handle(TDF_RelocationTable)& /*RT*/) const { Handle(TDataStd_Real) R = Handle(TDataStd_Real)::DownCast (Into); R->Set(myValue); diff --git a/src/TDataStd/TDataStd_ReferenceArray.cxx b/src/TDataStd/TDataStd_ReferenceArray.cxx index b2a9244e09..2a3547d884 100755 --- a/src/TDataStd/TDataStd_ReferenceArray.cxx +++ b/src/TDataStd/TDataStd_ReferenceArray.cxx @@ -144,7 +144,7 @@ const Handle(TDataStd_HLabelArray1)& TDataStd_ReferenceArray::InternalArray () c //purpose : //======================================================================= void TDataStd_ReferenceArray::SetInternalArray (const Handle(TDataStd_HLabelArray1)& values, - const Standard_Boolean isCheckItem) + const Standard_Boolean /*isCheckItem*/) { // myArray = values; Standard_Integer aLower = values->Lower(); diff --git a/src/TDataStd/TDataStd_Tick.cxx b/src/TDataStd/TDataStd_Tick.cxx index 8c863708ed..e0abc7e178 100755 --- a/src/TDataStd/TDataStd_Tick.cxx +++ b/src/TDataStd/TDataStd_Tick.cxx @@ -75,7 +75,7 @@ Handle(TDF_Attribute) TDataStd_Tick::NewEmpty() const //function : Restore //purpose : //======================================================================= -void TDataStd_Tick::Restore (const Handle(TDF_Attribute)& other) +void TDataStd_Tick::Restore (const Handle(TDF_Attribute)& ) { // There are no fields in this attribute. } @@ -84,8 +84,8 @@ void TDataStd_Tick::Restore (const Handle(TDF_Attribute)& other) //function : Paste //purpose : //======================================================================= -void TDataStd_Tick::Paste(const Handle(TDF_Attribute)& Into, - const Handle(TDF_RelocationTable)& RT) const +void TDataStd_Tick::Paste(const Handle(TDF_Attribute)& , + const Handle(TDF_RelocationTable)& ) const { // There are no fields in this attribute. } diff --git a/src/TDataStd/TDataStd_TreeNode.cxx b/src/TDataStd/TDataStd_TreeNode.cxx index 020a94d8c9..db030589a5 100755 --- a/src/TDataStd/TDataStd_TreeNode.cxx +++ b/src/TDataStd/TDataStd_TreeNode.cxx @@ -591,7 +591,7 @@ void TDataStd_TreeNode::AfterResume() { //======================================================================= Standard_Boolean TDataStd_TreeNode::BeforeUndo(const Handle(TDF_AttributeDelta)& anAttDelta, - const Standard_Boolean forceIt) + const Standard_Boolean /*forceIt*/) { if (anAttDelta->IsKind(STANDARD_TYPE(TDF_DeltaOnAddition))) BeforeForget(); // Disconnect. return Standard_True; @@ -603,7 +603,7 @@ Standard_Boolean TDataStd_TreeNode::BeforeUndo(const Handle(TDF_AttributeDelta)& //======================================================================= Standard_Boolean TDataStd_TreeNode::AfterUndo(const Handle(TDF_AttributeDelta)& anAttDelta, - const Standard_Boolean forceIt) + const Standard_Boolean /*forceIt*/) { if (anAttDelta->IsKind(STANDARD_TYPE(TDF_DeltaOnRemoval))) AfterAddition(); // Reconnect. return Standard_True; diff --git a/src/TDataStd/TDataStd_UAttribute.cxx b/src/TDataStd/TDataStd_UAttribute.cxx index 9cfe626ec9..5696b13eb6 100755 --- a/src/TDataStd/TDataStd_UAttribute.cxx +++ b/src/TDataStd/TDataStd_UAttribute.cxx @@ -103,7 +103,7 @@ void TDataStd_UAttribute::Restore(const Handle(TDF_Attribute)& with) //======================================================================= void TDataStd_UAttribute::Paste (const Handle(TDF_Attribute)& into, - const Handle(TDF_RelocationTable)& RT) const + const Handle(TDF_RelocationTable)& /*RT*/) const { Handle(TDataStd_UAttribute) A = Handle(TDataStd_UAttribute)::DownCast(into); A->SetID( myID ); @@ -114,7 +114,7 @@ void TDataStd_UAttribute::Paste (const Handle(TDF_Attribute)& into, //purpose : //======================================================================= -void TDataStd_UAttribute::References (const Handle(TDF_DataSet)& DS) const +void TDataStd_UAttribute::References (const Handle(TDF_DataSet)& /*DS*/) const { } diff --git a/src/TDataXtd/TDataXtd_Axis.cxx b/src/TDataXtd/TDataXtd_Axis.cxx index 3ea94ff3b6..3dbbbcaafa 100755 --- a/src/TDataXtd/TDataXtd_Axis.cxx +++ b/src/TDataXtd/TDataXtd_Axis.cxx @@ -16,8 +16,6 @@ // purpose or non-infringement. Please see the License for the specific terms // and conditions governing the rights and limitations under the License. - - #include #include #include @@ -139,14 +137,14 @@ Handle(TDF_Attribute) TDataXtd_Axis::NewEmpty () const //purpose : //======================================================================= -void TDataXtd_Axis::Restore (const Handle(TDF_Attribute)& With) { } +void TDataXtd_Axis::Restore (const Handle(TDF_Attribute)&) { } //======================================================================= //function : Paste //purpose : //======================================================================= -void TDataXtd_Axis::Paste (const Handle(TDF_Attribute)& Into, const Handle(TDF_RelocationTable)& RT) const { } +void TDataXtd_Axis::Paste (const Handle(TDF_Attribute)&, const Handle(TDF_RelocationTable)&) const { } //======================================================================= diff --git a/src/TDataXtd/TDataXtd_Geometry.cxx b/src/TDataXtd/TDataXtd_Geometry.cxx index b137bed5eb..c1ab85194a 100755 --- a/src/TDataXtd/TDataXtd_Geometry.cxx +++ b/src/TDataXtd/TDataXtd_Geometry.cxx @@ -501,7 +501,7 @@ void TDataXtd_Geometry::Restore (const Handle(TDF_Attribute)& With) //purpose : //======================================================================= -void TDataXtd_Geometry::Paste (const Handle(TDF_Attribute)& Into, const Handle(TDF_RelocationTable)& RT) const { +void TDataXtd_Geometry::Paste (const Handle(TDF_Attribute)& Into, const Handle(TDF_RelocationTable)&) const { Handle(TDataXtd_Geometry)::DownCast(Into)->SetType(myType); } diff --git a/src/TDataXtd/TDataXtd_Placement.cxx b/src/TDataXtd/TDataXtd_Placement.cxx index db0255ed1d..7d3f6a02df 100755 --- a/src/TDataXtd/TDataXtd_Placement.cxx +++ b/src/TDataXtd/TDataXtd_Placement.cxx @@ -81,7 +81,7 @@ Handle(TDF_Attribute) TDataXtd_Placement::NewEmpty() const //purpose : //======================================================================= -void TDataXtd_Placement::Restore (const Handle(TDF_Attribute)& other) +void TDataXtd_Placement::Restore (const Handle(TDF_Attribute)&) { } @@ -91,14 +91,12 @@ void TDataXtd_Placement::Restore (const Handle(TDF_Attribute)& other) //purpose : //======================================================================= -void TDataXtd_Placement::Paste(const Handle(TDF_Attribute)& Into, - const Handle(TDF_RelocationTable)& RT) const +void TDataXtd_Placement::Paste(const Handle(TDF_Attribute)&, + const Handle(TDF_RelocationTable)&) const { } - - //======================================================================= //function : Dump //purpose : diff --git a/src/TDataXtd/TDataXtd_Plane.cxx b/src/TDataXtd/TDataXtd_Plane.cxx index 768f059da0..733abdcfa5 100755 --- a/src/TDataXtd/TDataXtd_Plane.cxx +++ b/src/TDataXtd/TDataXtd_Plane.cxx @@ -136,14 +136,14 @@ Handle(TDF_Attribute) TDataXtd_Plane::NewEmpty () const //purpose : //======================================================================= -void TDataXtd_Plane::Restore(const Handle(TDF_Attribute)& With) {} +void TDataXtd_Plane::Restore(const Handle(TDF_Attribute)&) {} //======================================================================= //function : Paste //purpose : //======================================================================= -void TDataXtd_Plane::Paste (const Handle(TDF_Attribute)& Into, const Handle(TDF_RelocationTable)& RT) const { } +void TDataXtd_Plane::Paste (const Handle(TDF_Attribute)&, const Handle(TDF_RelocationTable)&) const { } //======================================================================= diff --git a/src/TDataXtd/TDataXtd_Point.cxx b/src/TDataXtd/TDataXtd_Point.cxx index 55e82b0d27..89e1929150 100755 --- a/src/TDataXtd/TDataXtd_Point.cxx +++ b/src/TDataXtd/TDataXtd_Point.cxx @@ -121,22 +121,23 @@ Handle(TDF_Attribute) TDataXtd_Point::NewEmpty () const return new TDataXtd_Point(); } - //======================================================================= //function : Restore //purpose : //======================================================================= -void TDataXtd_Point::Restore(const Handle(TDF_Attribute)& With) { } - +void TDataXtd_Point::Restore(const Handle(TDF_Attribute)&) +{ +} //======================================================================= //function : Paste //purpose : //======================================================================= -void TDataXtd_Point::Paste (const Handle(TDF_Attribute)& Into, const Handle(TDF_RelocationTable)& RT) const { } - +void TDataXtd_Point::Paste (const Handle(TDF_Attribute)&, const Handle(TDF_RelocationTable)&) const +{ +} //======================================================================= //function : Dump diff --git a/src/TDataXtd/TDataXtd_Shape.cxx b/src/TDataXtd/TDataXtd_Shape.cxx index 92714e2cb5..c5c574bf68 100755 --- a/src/TDataXtd/TDataXtd_Shape.cxx +++ b/src/TDataXtd/TDataXtd_Shape.cxx @@ -161,7 +161,7 @@ Handle(TDF_Attribute) TDataXtd_Shape::NewEmpty () const //purpose : //======================================================================= -void TDataXtd_Shape::Restore(const Handle(TDF_Attribute)& with) +void TDataXtd_Shape::Restore(const Handle(TDF_Attribute)& ) { } @@ -170,8 +170,8 @@ void TDataXtd_Shape::Restore(const Handle(TDF_Attribute)& with) //purpose : //======================================================================= -void TDataXtd_Shape::Paste (const Handle(TDF_Attribute)& into, - const Handle(TDF_RelocationTable)& RT) const +void TDataXtd_Shape::Paste (const Handle(TDF_Attribute)&, + const Handle(TDF_RelocationTable)&) const { } @@ -180,7 +180,7 @@ void TDataXtd_Shape::Paste (const Handle(TDF_Attribute)& into, //purpose : //======================================================================= -void TDataXtd_Shape::References (const Handle(TDF_DataSet)& DS) const +void TDataXtd_Shape::References (const Handle(TDF_DataSet)&) const { } diff --git a/src/TDocStd/TDocStd_Modified.cxx b/src/TDocStd/TDocStd_Modified.cxx index 89e33112b5..5653ed2f1c 100755 --- a/src/TDocStd/TDocStd_Modified.cxx +++ b/src/TDocStd/TDocStd_Modified.cxx @@ -221,8 +221,8 @@ void TDocStd_Modified::Restore(const Handle(TDF_Attribute)& With) { //purpose : //======================================================================= -void TDocStd_Modified::Paste (const Handle(TDF_Attribute)& Into, - const Handle(TDF_RelocationTable)& RT) const +void TDocStd_Modified::Paste (const Handle(TDF_Attribute)&, + const Handle(TDF_RelocationTable)&) const { } diff --git a/src/TDocStd/TDocStd_Owner.cxx b/src/TDocStd/TDocStd_Owner.cxx index 39132166a3..6d6ba2666b 100755 --- a/src/TDocStd/TDocStd_Owner.cxx +++ b/src/TDocStd/TDocStd_Owner.cxx @@ -120,7 +120,7 @@ Handle(TDF_Attribute) TDocStd_Owner::NewEmpty () const //purpose : //======================================================================= -void TDocStd_Owner::Restore(const Handle(TDF_Attribute)& With) +void TDocStd_Owner::Restore(const Handle(TDF_Attribute)&) { } @@ -129,8 +129,8 @@ void TDocStd_Owner::Restore(const Handle(TDF_Attribute)& With) //purpose : //======================================================================= -void TDocStd_Owner::Paste (const Handle(TDF_Attribute)& Into, - const Handle(TDF_RelocationTable)& RT) const +void TDocStd_Owner::Paste (const Handle(TDF_Attribute)&, + const Handle(TDF_RelocationTable)&) const { } diff --git a/src/TDocStd/TDocStd_XLink.cxx b/src/TDocStd/TDocStd_XLink.cxx index 5c2e1784c5..293e0b5187 100755 --- a/src/TDocStd/TDocStd_XLink.cxx +++ b/src/TDocStd/TDocStd_XLink.cxx @@ -185,7 +185,7 @@ void TDocStd_XLink::BeforeRemoval() Standard_Boolean TDocStd_XLink::BeforeUndo (const Handle(TDF_AttributeDelta)& anAttDelta, - const Standard_Boolean forceIt) + const Standard_Boolean /*forceIt*/) { if (anAttDelta->IsKind(STANDARD_TYPE(TDF_DeltaOnAddition))) { anAttDelta->Attribute()->BeforeRemoval(); @@ -201,7 +201,7 @@ Standard_Boolean TDocStd_XLink::BeforeUndo Standard_Boolean TDocStd_XLink::AfterUndo (const Handle(TDF_AttributeDelta)& anAttDelta, - const Standard_Boolean forceIt) + const Standard_Boolean /*forceIt*/) { if (anAttDelta->IsKind(STANDARD_TYPE(TDF_DeltaOnRemoval))) { anAttDelta->Attribute()->AfterAddition(); @@ -256,7 +256,7 @@ Handle(TDF_Attribute) TDocStd_XLink::NewEmpty() const void TDocStd_XLink::Paste (const Handle(TDF_Attribute)& intoAttribute, - const Handle(TDF_RelocationTable)& aRelocationTable) const + const Handle(TDF_RelocationTable)& /*aRelocationTable*/) const { const Handle(TDocStd_XLink)& xRef = Handle(TDocStd_XLink)::DownCast(intoAttribute); diff --git a/src/TDocStd/TDocStd_XLinkRoot.cxx b/src/TDocStd/TDocStd_XLinkRoot.cxx index abe726ab0f..8102f29826 100755 --- a/src/TDocStd/TDocStd_XLinkRoot.cxx +++ b/src/TDocStd/TDocStd_XLinkRoot.cxx @@ -142,7 +142,7 @@ Handle(TDF_Attribute) TDocStd_XLinkRoot::BackupCopy() const //purpose : //======================================================================= -void TDocStd_XLinkRoot::Restore(const Handle(TDF_Attribute)& anAttribute) +void TDocStd_XLinkRoot::Restore(const Handle(TDF_Attribute)& /*anAttribute*/) {} // Does nothing. @@ -161,8 +161,8 @@ Handle(TDF_Attribute) TDocStd_XLinkRoot::NewEmpty() const //======================================================================= void TDocStd_XLinkRoot::Paste -(const Handle(TDF_Attribute)& intoAttribute, - const Handle(TDF_RelocationTable)& aRelocationTable) const +(const Handle(TDF_Attribute)&, + const Handle(TDF_RelocationTable)&) const {} // Does nothing. diff --git a/src/TFunction/TFunction_Function.cxx b/src/TFunction/TFunction_Function.cxx index 7669d37cd1..8425959301 100755 --- a/src/TFunction/TFunction_Function.cxx +++ b/src/TFunction/TFunction_Function.cxx @@ -150,7 +150,7 @@ void TFunction_Function::Restore(const Handle(TDF_Attribute)& other) //======================================================================= void TFunction_Function::Paste(const Handle(TDF_Attribute)& into, - const Handle(TDF_RelocationTable)& RT) const + const Handle(TDF_RelocationTable)& /*RT*/) const { Handle(TFunction_Function) intof = Handle(TFunction_Function)::DownCast(into); intof->SetFailure(myFailure); diff --git a/src/TNaming/TNaming_UsedShapes.cxx b/src/TNaming/TNaming_UsedShapes.cxx index ea7c1b3b89..f01e85b2bd 100755 --- a/src/TNaming/TNaming_UsedShapes.cxx +++ b/src/TNaming/TNaming_UsedShapes.cxx @@ -98,7 +98,7 @@ void TNaming_UsedShapes::BeforeRemoval() Standard_Boolean TNaming_UsedShapes::AfterUndo (const Handle(TDF_AttributeDelta)& anAttDelta, - const Standard_Boolean forceIt) + const Standard_Boolean /*forceIt*/) { if (anAttDelta->IsKind(STANDARD_TYPE(TDF_DeltaOnAddition))) { anAttDelta->Attribute()->BeforeRemoval(); @@ -132,7 +132,7 @@ Handle(TDF_DeltaOnRemoval) TNaming_UsedShapes::DeltaOnRemoval() const //purpose : //======================================================================= -void TNaming_UsedShapes::Restore(const Handle(TDF_Attribute)& anAttribute) +void TNaming_UsedShapes::Restore(const Handle(TDF_Attribute)& /*anAttribute*/) { } @@ -151,8 +151,8 @@ Handle(TDF_Attribute) TNaming_UsedShapes::NewEmpty () const //purpose : //======================================================================= -void TNaming_UsedShapes::Paste(const Handle(TDF_Attribute)& into, - const Handle(TDF_RelocationTable)& Tab) const +void TNaming_UsedShapes::Paste(const Handle(TDF_Attribute)&, + const Handle(TDF_RelocationTable)&) const { } @@ -184,6 +184,6 @@ Standard_OStream& TNaming_UsedShapes::Dump(Standard_OStream& anOS) const //purpose : //======================================================================= -void TNaming_UsedShapes::References(const Handle(TDF_DataSet)& /*aDataSet*/) const +void TNaming_UsedShapes::References(const Handle(TDF_DataSet)& ) const { } diff --git a/src/TPrsStd/TPrsStd_AISViewer.cxx b/src/TPrsStd/TPrsStd_AISViewer.cxx index 106254b928..55cfeb7c8d 100755 --- a/src/TPrsStd/TPrsStd_AISViewer.cxx +++ b/src/TPrsStd/TPrsStd_AISViewer.cxx @@ -182,7 +182,7 @@ const Standard_GUID& TPrsStd_AISViewer::ID() const { return GetID(); } //purpose : //======================================================================= -void TPrsStd_AISViewer::Restore(const Handle(TDF_Attribute)& with) +void TPrsStd_AISViewer::Restore(const Handle(TDF_Attribute)&) { } @@ -201,8 +201,8 @@ Handle(TDF_Attribute) TPrsStd_AISViewer::NewEmpty() const //purpose : //======================================================================= -void TPrsStd_AISViewer::Paste (const Handle(TDF_Attribute)& into, - const Handle(TDF_RelocationTable)& RT) const +void TPrsStd_AISViewer::Paste (const Handle(TDF_Attribute)&, + const Handle(TDF_RelocationTable)&) const { } diff --git a/src/TPrsStd/TPrsStd_ConstraintTools.cxx b/src/TPrsStd/TPrsStd_ConstraintTools.cxx index 8b44afdcaa..4288da55bb 100755 --- a/src/TPrsStd/TPrsStd_ConstraintTools.cxx +++ b/src/TPrsStd/TPrsStd_ConstraintTools.cxx @@ -1966,7 +1966,7 @@ void TPrsStd_ConstraintTools::ComputePlacement //======================================================================= void TPrsStd_ConstraintTools::ComputeOthers (const Handle(TDataXtd_Constraint)& /*aConst*/, - Handle(AIS_InteractiveObject)& anAIS) + Handle(AIS_InteractiveObject)& /*anAIS*/) { } diff --git a/src/TestTopOpe/TestTopOpe_OtherCommands.cxx b/src/TestTopOpe/TestTopOpe_OtherCommands.cxx index 2c1490d5f9..96ef6e29c3 100755 --- a/src/TestTopOpe/TestTopOpe_OtherCommands.cxx +++ b/src/TestTopOpe/TestTopOpe_OtherCommands.cxx @@ -264,7 +264,7 @@ Standard_Integer GRILLE(Draw_Interpretor& di, Standard_Integer narg, const char* return 0 ; } -Standard_Integer GETP3D(Draw_Interpretor& di, Standard_Integer narg, const char** a) +Standard_Integer GETP3D(Draw_Interpretor& di, Standard_Integer /*narg*/, const char** a) { TopoDS_Shape V = DBRep::Get(a[1]); if (V.IsNull()) { diff --git a/src/TestTopOpeDraw/TestTopOpeDraw_DrawableC2D.cxx b/src/TestTopOpeDraw/TestTopOpeDraw_DrawableC2D.cxx index 26433cb93b..f7af3528ca 100755 --- a/src/TestTopOpeDraw/TestTopOpeDraw_DrawableC2D.cxx +++ b/src/TestTopOpeDraw/TestTopOpeDraw_DrawableC2D.cxx @@ -90,7 +90,7 @@ gp_Pnt2d TestTopOpeDraw_DrawableC2D::Pnt2d() const //purpose : //======================================================================= -void TestTopOpeDraw_DrawableC2D::ChangePnt2d(const gp_Pnt2d& P) +void TestTopOpeDraw_DrawableC2D::ChangePnt2d(const gp_Pnt2d&) { myText2D = new Draw_Text2D(Pnt2d(),myText,myTextColor); } diff --git a/src/TestTopOpeDraw/TestTopOpeDraw_DrawableC3D.cxx b/src/TestTopOpeDraw/TestTopOpeDraw_DrawableC3D.cxx index 35e7dd1d9a..9e6b905d69 100755 --- a/src/TestTopOpeDraw/TestTopOpeDraw_DrawableC3D.cxx +++ b/src/TestTopOpeDraw/TestTopOpeDraw_DrawableC3D.cxx @@ -85,7 +85,7 @@ gp_Pnt TestTopOpeDraw_DrawableC3D::Pnt() const //function : ChangePnt //purpose : //======================================================================= -void TestTopOpeDraw_DrawableC3D::ChangePnt(const gp_Pnt& P) +void TestTopOpeDraw_DrawableC3D::ChangePnt(const gp_Pnt&) { myText3D = new Draw_Text3D(Pnt(),myText,myTextColor); } diff --git a/src/TestTopOpeDraw/TestTopOpeDraw_DrawableSUR.cxx b/src/TestTopOpeDraw/TestTopOpeDraw_DrawableSUR.cxx index 694eb33b58..197c76ae1c 100755 --- a/src/TestTopOpeDraw/TestTopOpeDraw_DrawableSUR.cxx +++ b/src/TestTopOpeDraw/TestTopOpeDraw_DrawableSUR.cxx @@ -72,7 +72,7 @@ TestTopOpeDraw_DrawableSUR::TestTopOpeDraw_DrawableSUR const Standard_CString Text,const Draw_Color& TextColor, const Standard_Integer Nu, const Standard_Integer Nv, const Standard_Integer Disc, const Standard_Real Defl, const Standard_Integer DMode, - const Standard_Boolean DispOrigin) : + const Standard_Boolean /*DispOrigin*/) : DrawTrSurf_Surface(S,Nu,Nv,IsoColor,BoundColor,Disc,Defl,DMode) { myText = new Draw_Text3D(Pnt(),Text,TextColor); diff --git a/src/TestTopOpeDraw/TestTopOpeDraw_OtherCommands.cxx b/src/TestTopOpeDraw/TestTopOpeDraw_OtherCommands.cxx index f80ccd26b3..2116a1e803 100755 --- a/src/TestTopOpeDraw/TestTopOpeDraw_OtherCommands.cxx +++ b/src/TestTopOpeDraw/TestTopOpeDraw_OtherCommands.cxx @@ -227,7 +227,7 @@ static void BoopReadInitFile(Draw_Interpretor& di, const char* filename) di.EvalFile(filename); } -static Standard_Integer ttab(Draw_Interpretor& di, Standard_Integer narg, const char** /*a*/) { +static Standard_Integer ttab(Draw_Interpretor& di, Standard_Integer /*narg*/, const char** /*a*/) { char s[2000]; strcpy(s,""); Sprintf(s,"%s%s",s,"proc addt {at args} {upvar $at x;set L \"\";addl L [join $args];"); Sprintf(s,"%s%s",s,"foreach l $L {set x([array size x]) $l}};"); diff --git a/src/TestTopOpeTools/TestTopOpeTools_OtherCommands.cxx b/src/TestTopOpeTools/TestTopOpeTools_OtherCommands.cxx index c582fdfb6b..04ab4ef5fa 100755 --- a/src/TestTopOpeTools/TestTopOpeTools_OtherCommands.cxx +++ b/src/TestTopOpeTools/TestTopOpeTools_OtherCommands.cxx @@ -26,6 +26,6 @@ //purpose : //======================================================================= -void TestTopOpeTools::OtherCommands(Draw_Interpretor& theCommands) +void TestTopOpeTools::OtherCommands(Draw_Interpretor&) { } diff --git a/src/TopOpeBRep/TopOpeBRep_DSFiller.cxx b/src/TopOpeBRep/TopOpeBRep_DSFiller.cxx index 78bb3c1aec..3646e57a75 100755 --- a/src/TopOpeBRep/TopOpeBRep_DSFiller.cxx +++ b/src/TopOpeBRep/TopOpeBRep_DSFiller.cxx @@ -704,7 +704,7 @@ void TopOpeBRep_DSFiller::RemoveUnsharedGeometry(const Handle(TopOpeBRepDS_HData //function : Checker //purpose : //======================================================================= -void TopOpeBRep_DSFiller::Checker(const Handle(TopOpeBRepDS_HDataStructure)& HDS) const +void TopOpeBRep_DSFiller::Checker(const Handle(TopOpeBRepDS_HDataStructure)& /*HDS*/) const { // TopOpeBRepDS_Checker C(HDS); // NYI //#ifdef DEB diff --git a/src/TopOpeBRep/TopOpeBRep_EdgesFiller.cxx b/src/TopOpeBRep/TopOpeBRep_EdgesFiller.cxx index 0f4e16c66f..449569c570 100755 --- a/src/TopOpeBRep/TopOpeBRep_EdgesFiller.cxx +++ b/src/TopOpeBRep/TopOpeBRep_EdgesFiller.cxx @@ -442,7 +442,7 @@ Handle(TopOpeBRepDS_Interference) TopOpeBRep_EdgesFiller::StoreVI(const TopOpeBR //function : ToRecompute //purpose : //======================================================================= -Standard_Boolean TopOpeBRep_EdgesFiller::ToRecompute(const TopOpeBRep_Point2d& P2D,const Handle(TopOpeBRepDS_Interference)& I,const Standard_Integer IEmother) +Standard_Boolean TopOpeBRep_EdgesFiller::ToRecompute(const TopOpeBRep_Point2d& P2D,const Handle(TopOpeBRepDS_Interference)& /*I*/,const Standard_Integer /*IEmother*/) { Standard_Boolean b = Standard_True; Standard_Boolean pointofsegment = P2D.IsPointOfSegment(); diff --git a/src/TopOpeBRep/TopOpeBRep_FacesFiller_1.cxx b/src/TopOpeBRep/TopOpeBRep_FacesFiller_1.cxx index eb6b403154..1f9cd83ef3 100755 --- a/src/TopOpeBRep/TopOpeBRep_FacesFiller_1.cxx +++ b/src/TopOpeBRep/TopOpeBRep_FacesFiller_1.cxx @@ -81,16 +81,26 @@ static void SSAVFF(const TopoDS_Shape& F1, const TopoDS_Shape& F2) cout<<"FacesFiller : "< #include -static Standard_Integer avi_record(Draw_Interpretor& di, +static Standard_Integer avi_record(Draw_Interpretor& /*di*/, Standard_Integer argc, const char** argv) { if (argc < 2) diff --git a/src/ViewerTest/ViewerTest_ObjectCommands.cxx b/src/ViewerTest/ViewerTest_ObjectCommands.cxx index 5d332018f0..1c808eac25 100755 --- a/src/ViewerTest/ViewerTest_ObjectCommands.cxx +++ b/src/ViewerTest/ViewerTest_ObjectCommands.cxx @@ -900,7 +900,7 @@ static int VPointBuilder(Draw_Interpretor& di, Standard_Integer argc, const char // [PlaneName] [PointName] //============================================================================== -static Standard_Integer VPlaneBuilder (Draw_Interpretor& di, +static Standard_Integer VPlaneBuilder (Draw_Interpretor& /*di*/, Standard_Integer argc, const char** argv) { @@ -1843,7 +1843,7 @@ TopoDS_Face FilledCircle::ComputeFace() return aFace; } -void FilledCircle::Compute(const Handle_PrsMgr_PresentationManager3d &thePresentationManager, +void FilledCircle::Compute(const Handle_PrsMgr_PresentationManager3d &/*thePresentationManager*/, const Handle_Prs3d_Presentation &thePresentation, const Standard_Integer theMode) { @@ -1858,7 +1858,7 @@ void FilledCircle::Compute(const Handle_PrsMgr_PresentationManager3d &thePresent } void FilledCircle::ComputeSelection(const Handle_SelectMgr_Selection &theSelection, - const Standard_Integer theMode) + const Standard_Integer /*theMode*/) { Handle(SelectMgr_EntityOwner) anEntityOwner = new SelectMgr_EntityOwner(this); Handle(Select3D_SensitiveCircle) aSensitiveCircle = new Select3D_SensitiveCircle(anEntityOwner, @@ -1911,7 +1911,7 @@ void DisplayCircle (Handle (Geom_Circle) theGeomCircle, } -static int VCircleBuilder(Draw_Interpretor& di, Standard_Integer argc, const char** argv) +static int VCircleBuilder(Draw_Interpretor& /*di*/, Standard_Integer argc, const char** argv) { Standard_Integer myCurrentIndex; // Verification of the arguments @@ -2311,8 +2311,8 @@ private: const Handle(Prs3d_Presentation)& aPresentation, const Standard_Integer aMode); - void ComputeSelection ( const Handle(SelectMgr_Selection)& aSelection, - const Standard_Integer aMode){} ; + void ComputeSelection ( const Handle(SelectMgr_Selection)& /*aSelection*/, + const Standard_Integer /*aMode*/){} ; protected: TCollection_ExtendedString aText; @@ -2361,9 +2361,9 @@ MyTextClass::MyTextClass( const TCollection_ExtendedString& text, const gp_Pnt& ////////////////////////////////////////////////////////////////////////////// -void MyTextClass::Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager, +void MyTextClass::Compute(const Handle(PrsMgr_PresentationManager3d)& /*aPresentationManager*/, const Handle(Prs3d_Presentation)& aPresentation, - const Standard_Integer aMode) + const Standard_Integer /*aMode*/) { aPresentation->Clear(); @@ -2750,7 +2750,7 @@ Handle( Poly_Triangulation ) CalculationOfSphere( double X , double Y , double Z //author : psn //purpose : Create an AIS shape. //=============================================================================================== -static int VDrawSphere (Draw_Interpretor& di, Standard_Integer argc, const char** argv) +static int VDrawSphere (Draw_Interpretor& /*di*/, Standard_Integer argc, const char** argv) { // check for errors Handle(AIS_InteractiveContext) aContextAIS = ViewerTest::GetAISContext(); @@ -2856,7 +2856,7 @@ static int VDrawSphere (Draw_Interpretor& di, Standard_Integer argc, const char* //function : VClipPlane //purpose : //=============================================================================================== -static int VClipPlane (Draw_Interpretor& di, Standard_Integer argc, const char** argv) +static int VClipPlane (Draw_Interpretor& /*di*/, Standard_Integer argc, const char** argv) { Handle(V3d_Viewer) aViewer = ViewerTest::GetViewerFromContext(); Handle(V3d_View) aView = ViewerTest::CurrentView(); @@ -3182,8 +3182,8 @@ private: const Handle(Prs3d_Presentation)& aPresentation, const Standard_Integer aMode); - void ComputeSelection (const Handle(SelectMgr_Selection)& aSelection, - const Standard_Integer aMode) {}; + void ComputeSelection (const Handle(SelectMgr_Selection)& /*aSelection*/, + const Standard_Integer /*aMode*/) {}; protected: @@ -3194,9 +3194,9 @@ protected: IMPLEMENT_STANDARD_HANDLE(MyPArrayObject, AIS_InteractiveObject) IMPLEMENT_STANDARD_RTTIEXT(MyPArrayObject, AIS_InteractiveObject) -void MyPArrayObject::Compute (const Handle(PrsMgr_PresentationManager3d)& aPresentationManager, +void MyPArrayObject::Compute (const Handle(PrsMgr_PresentationManager3d)& /*aPresentationManager*/, const Handle(Prs3d_Presentation)& aPresentation, - const Standard_Integer aMode) + const Standard_Integer /*aMode*/) { aPresentation->Clear(); Prs3d_Root::CurrentGroup (aPresentation)->AddPrimitiveArray (myArray); @@ -3499,7 +3499,7 @@ static Standard_Integer VSetLocation (Draw_Interpretor& di, //Draw arg : vconnect name Xo Yo Zo Xu Xv Xw Zu Zv Zw object1 object2 ... [color=NAME] //=============================================================================================== -static Standard_Integer VConnect(Draw_Interpretor& di, +static Standard_Integer VConnect(Draw_Interpretor& /*di*/, Standard_Integer argc, const char ** argv) { @@ -3679,7 +3679,7 @@ static Standard_Integer VConnect(Draw_Interpretor& di, //Draw arg : vconnectsh name Xo Yo Zo Xu Xv Xw Zu Zv Zw shape1 shape2 ... [color=NAME] //=============================================================================================== -static Standard_Integer VConnectShape(Draw_Interpretor& di, +static Standard_Integer VConnectShape(Draw_Interpretor& /*di*/, Standard_Integer argc, const char ** argv) { @@ -3881,7 +3881,7 @@ Standard_Boolean InList(Handle(AIS_InteractiveContext) theAISContext, return Standard_False; } -static Standard_Integer VSetSelectionMode(Draw_Interpretor& di, +static Standard_Integer VSetSelectionMode(Draw_Interpretor& /*di*/, Standard_Integer argc, const char ** argv) { @@ -4049,9 +4049,9 @@ Triangle::Triangle (const gp_Pnt& theP1, myPoint3 = theP3; } -void Triangle::Compute(const Handle(PrsMgr_PresentationManager3d)& thePresentationManager, +void Triangle::Compute(const Handle(PrsMgr_PresentationManager3d)& /*thePresentationManager*/, const Handle(Prs3d_Presentation)& thePresentation, - const Standard_Integer theMode) + const Standard_Integer /*theMode*/) { thePresentation->Clear(); @@ -4077,7 +4077,7 @@ void Triangle::Compute(const Handle(PrsMgr_PresentationManager3d)& thePresentati } void Triangle::ComputeSelection(const Handle(SelectMgr_Selection)& theSelection, - const Standard_Integer theMode) + const Standard_Integer /*theMode*/) { Handle(SelectMgr_EntityOwner) anEntityOwner = new SelectMgr_EntityOwner(this); Handle(Select3D_SensitiveTriangle) aSensTriangle = @@ -4125,7 +4125,7 @@ Standard_Boolean IsMatch (const Handle(Geom_CartesianPoint)& thePoint1, return Standard_False; } -static Standard_Integer VTriangle (Draw_Interpretor& di, +static Standard_Integer VTriangle (Draw_Interpretor& /*di*/, Standard_Integer argc, const char ** argv) { @@ -4238,9 +4238,9 @@ SegmentObject::SegmentObject (const gp_Pnt& thePnt1, const gp_Pnt& thePnt2) myPoint2 = thePnt2; } -void SegmentObject::Compute (const Handle_PrsMgr_PresentationManager3d &thePresentationManager, +void SegmentObject::Compute (const Handle_PrsMgr_PresentationManager3d &/*thePresentationManager*/, const Handle_Prs3d_Presentation &thePresentation, - const Standard_Integer theMode) + const Standard_Integer /*theMode*/) { thePresentation->Clear(); BRepBuilderAPI_MakeEdge anEdgeMaker(myPoint1, myPoint2); @@ -4252,7 +4252,7 @@ void SegmentObject::Compute (const Handle_PrsMgr_PresentationManager3d &thePrese } void SegmentObject::ComputeSelection (const Handle_SelectMgr_Selection &theSelection, - const Standard_Integer theMode) + const Standard_Integer /*theMode*/) { Handle(SelectMgr_EntityOwner) anOwner = new SelectMgr_EntityOwner(this); Handle(TColgp_HArray1OfPnt) anArray = new TColgp_HArray1OfPnt(1, 2); @@ -4268,7 +4268,7 @@ void SegmentObject::ComputeSelection (const Handle_SelectMgr_Selection &theSelec //Draw args : vsegment Name PointName PointName //purpose : creates and displays Segment //======================================================================= -static Standard_Integer VSegment (Draw_Interpretor& di, +static Standard_Integer VSegment (Draw_Interpretor& /*di*/, Standard_Integer argc, const char ** argv) { @@ -4395,7 +4395,7 @@ static Standard_Integer VObjZLayer (Draw_Interpretor& di, //function : VPolygonOffset //purpose : Set or get polygon offset parameters //======================================================================= -static Standard_Integer VPolygonOffset(Draw_Interpretor& di, +static Standard_Integer VPolygonOffset(Draw_Interpretor& /*di*/, Standard_Integer argc, const char ** argv) { @@ -4477,7 +4477,7 @@ static Standard_Integer VPolygonOffset(Draw_Interpretor& di, //function : VShowFaceBoundaries //purpose : Set face boundaries drawing on/off for ais object //======================================================================= -static Standard_Integer VShowFaceBoundary (Draw_Interpretor& di, +static Standard_Integer VShowFaceBoundary (Draw_Interpretor& /*di*/, Standard_Integer argc, const char ** argv) { diff --git a/src/ViewerTest/ViewerTest_OpenGlCommands.cxx b/src/ViewerTest/ViewerTest_OpenGlCommands.cxx index 0084718ce1..6244fb3368 100644 --- a/src/ViewerTest/ViewerTest_OpenGlCommands.cxx +++ b/src/ViewerTest/ViewerTest_OpenGlCommands.cxx @@ -100,7 +100,7 @@ public: myIObj->Render(theWorkspace); } - virtual void Release (const Handle(OpenGl_Context)& theGlCtx) + virtual void Release (const Handle(OpenGl_Context)&) { // } @@ -129,9 +129,9 @@ private: IMPLEMENT_STANDARD_HANDLE(VUserDrawObj, AIS_InteractiveObject) IMPLEMENT_STANDARD_RTTIEXT(VUserDrawObj, AIS_InteractiveObject) -void VUserDrawObj::Compute(const Handle(PrsMgr_PresentationManager3d)& thePresentationManager, +void VUserDrawObj::Compute(const Handle(PrsMgr_PresentationManager3d)& /*thePresentationManager*/, const Handle(Prs3d_Presentation)& thePresentation, - const Standard_Integer theMode) + const Standard_Integer /*theMode*/) { thePresentation->Clear(); @@ -140,7 +140,7 @@ void VUserDrawObj::Compute(const Handle(PrsMgr_PresentationManager3d)& thePresen } void VUserDrawObj::ComputeSelection (const Handle(SelectMgr_Selection)& theSelection, - const Standard_Integer theMode) + const Standard_Integer /*theMode*/) { Handle(SelectMgr_EntityOwner) anEntityOwner = new SelectMgr_EntityOwner(this); Handle(TColgp_HArray1OfPnt) aPnts = new TColgp_HArray1OfPnt(1, 5); @@ -246,8 +246,8 @@ static Standard_Integer VUserDraw (Draw_Interpretor& di, //============================================================================== static int VFeedback (Draw_Interpretor& theDI, - Standard_Integer theArgNb, - const char** theArgVec) + Standard_Integer /*theArgNb*/, + const char** /*theArgVec*/) { // get the active view Handle(V3d_View) aView = ViewerTest::CurrentView(); @@ -397,7 +397,7 @@ static int VFeedback (Draw_Interpretor& theDI, //purpose : //============================================================================== -static int VImmediateFront (Draw_Interpretor& theDI, +static int VImmediateFront (Draw_Interpretor& /*theDI*/, Standard_Integer theArgNb, const char** theArgVec) { diff --git a/src/ViewerTest/ViewerTest_ViewerCommands.cxx b/src/ViewerTest/ViewerTest_ViewerCommands.cxx index 271371e231..c75af624f0 100755 --- a/src/ViewerTest/ViewerTest_ViewerCommands.cxx +++ b/src/ViewerTest/ViewerTest_ViewerCommands.cxx @@ -3634,7 +3634,7 @@ static int VOverlayText (Draw_Interpretor& di, Standard_Integer argc, const char //purpose : //============================================================================== -static int VGrid (Draw_Interpretor& theDI, +static int VGrid (Draw_Interpretor& /*theDI*/, Standard_Integer theArgNb, const char** theArgVec) { @@ -3790,7 +3790,7 @@ static int VFps (Draw_Interpretor& theDI, //purpose : //============================================================================== -static int VVbo (Draw_Interpretor& theDI, +static int VVbo (Draw_Interpretor& /*theDI*/, Standard_Integer theArgNb, const char** theArgVec) { @@ -4622,7 +4622,7 @@ void OCC_TextureEnv::SetTextureParameters(const Standard_Boolean theRepeatFlag, myParams->SetRotation (theAngle); } -static int VTextureEnv (Draw_Interpretor& theDI, Standard_Integer theArgNb, const char** theArgVec) +static int VTextureEnv (Draw_Interpretor& /*theDI*/, Standard_Integer theArgNb, const char** theArgVec) { // get the active view Handle(V3d_View) aView = ViewerTest::CurrentView(); diff --git a/src/Visual3d/Visual3d_View.cxx b/src/Visual3d/Visual3d_View.cxx index 9cd1188e77..5c3529f5f9 100755 --- a/src/Visual3d/Visual3d_View.cxx +++ b/src/Visual3d/Visual3d_View.cxx @@ -1911,7 +1911,7 @@ Visual3d_TypeOfAnswer Result = Visual3d_TOA_NO; } -void Visual3d_View::ChangeDisplayPriority (const Handle(Graphic3d_Structure)& AStructure, const Standard_Integer OldPriority, const Standard_Integer NewPriority) { +void Visual3d_View::ChangeDisplayPriority (const Handle(Graphic3d_Structure)& AStructure, const Standard_Integer /*OldPriority*/, const Standard_Integer NewPriority) { if (IsDeleted ()) return; if (! IsDefined ()) return; diff --git a/src/Visual3d/Visual3d_ViewOrientation.cxx b/src/Visual3d/Visual3d_ViewOrientation.cxx index e0d7dd1f99..8204118757 100755 --- a/src/Visual3d/Visual3d_ViewOrientation.cxx +++ b/src/Visual3d/Visual3d_ViewOrientation.cxx @@ -88,7 +88,7 @@ MyScaleZ(1.0) { } -Visual3d_ViewOrientation::Visual3d_ViewOrientation (const Graphic3d_Vertex& VRP, const Graphic3d_Vector& VPN, const Standard_Real Twist) { +Visual3d_ViewOrientation::Visual3d_ViewOrientation (const Graphic3d_Vertex& VRP, const Graphic3d_Vector& VPN, const Standard_Real /*Twist*/) { if (Graphic3d_Vector::NormeOf (VPN) == 0.0) Visual3d_ViewOrientationDefinitionError::Raise @@ -101,7 +101,7 @@ Visual3d_ViewOrientation::Visual3d_ViewOrientation (const Graphic3d_Vertex& VRP, } -Visual3d_ViewOrientation::Visual3d_ViewOrientation (const Graphic3d_Vertex& VRP, const Standard_Real Azim, const Standard_Real Inc, const Standard_Real Twist) { +Visual3d_ViewOrientation::Visual3d_ViewOrientation (const Graphic3d_Vertex& VRP, const Standard_Real /*Azim*/, const Standard_Real /*Inc*/, const Standard_Real /*Twist*/) { cout << "\nVisual3d_ViewOrientation : Not Yet Implemented\n\n" << flush; diff --git a/src/Voxel/Voxel_FastConverter.cxx b/src/Voxel/Voxel_FastConverter.cxx index 7c10282c22..1e07b203e9 100755 --- a/src/Voxel/Voxel_FastConverter.cxx +++ b/src/Voxel/Voxel_FastConverter.cxx @@ -437,7 +437,7 @@ Standard_Boolean Voxel_FastConverter::ConvertUsingSAT(Standard_Integer& pro } Standard_Boolean Voxel_FastConverter::FillInVolume(const Standard_Byte inner, - const Standard_Integer ithread) + const Standard_Integer /*ithread*/) { Voxel_DS* ds = (Voxel_DS*) myVoxels; Standard_Integer ix, iy, iz, nbx = ds->GetNbX(), nby = ds->GetNbY(), nbz = ds->GetNbZ(); @@ -532,7 +532,7 @@ Standard_Boolean Voxel_FastConverter::FillInVolume(const Standard_Byte inner, return Standard_True; } -Standard_Boolean Voxel_FastConverter::FillInVolume(const Standard_Byte inner, const TopoDS_Shape & shape, const Standard_Integer ithread) +Standard_Boolean Voxel_FastConverter::FillInVolume(const Standard_Byte inner, const TopoDS_Shape & shape, const Standard_Integer /*ithread*/) { Voxel_DS* ds = (Voxel_DS*) myVoxels; Standard_Integer ix, iy, iz, nbx = ds->GetNbX(), nby = ds->GetNbY(), nbz = ds->GetNbZ(); diff --git a/src/VrmlData/VrmlData_Scene.cxx b/src/VrmlData/VrmlData_Scene.cxx index ed91a58b88..25e4400de8 100755 --- a/src/VrmlData/VrmlData_Scene.cxx +++ b/src/VrmlData/VrmlData_Scene.cxx @@ -346,7 +346,7 @@ VrmlData_Scene& VrmlData_Scene::operator << (Standard_IStream& theInput) Handle(VrmlData_Node) VrmlData_Scene::FindNode (const char * theName, - const Handle(Standard_Type)& theType) const + const Handle(Standard_Type)& /*theType*/) const { Handle(VrmlData_Node) aResult; #ifdef USE_LIST_API diff --git a/src/WNT/W32_Allocator.hxx b/src/WNT/W32_Allocator.hxx index 0539a08864..b53f1dd39a 100755 --- a/src/WNT/W32_Allocator.hxx +++ b/src/WNT/W32_Allocator.hxx @@ -117,7 +117,7 @@ struct W32_Note { // base class to represent graphic object #ifdef OCC5415 void operator delete (void*, W32_Allocator*) {} private: // to protect against possible accidental usage - void operator delete (void* p) {} + void operator delete (void*) {} #endif }; /// diff --git a/src/WNT/W95_Allocator.cxx b/src/WNT/W95_Allocator.cxx index fbccb93c03..16d2e54cfa 100755 --- a/src/WNT/W95_Allocator.cxx +++ b/src/WNT/W95_Allocator.cxx @@ -406,7 +406,7 @@ W32_PointNote :: W32_PointNote ( int x, int y ) { } // end constructor -void W32_PointNote :: Play ( BOOL fDummy ) { +void W32_PointNote :: Play ( BOOL ) { ALLOCATOR -> myHDC.SetPixel ( myX, myY, ALLOCATOR -> myPointColor ); @@ -419,7 +419,7 @@ W32_MarkerPointNote :: W32_MarkerPointNote ( int x, int y ) : } // end constructor -void W32_MarkerPointNote :: Play ( BOOL fDummy ) { +void W32_MarkerPointNote :: Play ( BOOL ) { ALLOCATOR -> myHDC.SetPixel ( myX, myY, ALLOCATOR -> myMarkerPointColor ); @@ -435,7 +435,7 @@ W32_LineNote :: W32_LineNote ( int x, int y, int x1, int y1 ) : } // end constructor -void W32_LineNote :: Play ( BOOL fDummy ) { +void W32_LineNote :: Play ( BOOL ) { EHDC* pe = &ALLOCATOR -> myHDC; @@ -454,7 +454,7 @@ W32_PolyEllipseNote :: W32_PolyEllipseNote ( int xc, int yc, int xr, int yr ) : } // end constructor -void W32_PolyEllipseNote :: Play ( BOOL fDummy ) { +void W32_PolyEllipseNote :: Play ( BOOL ) { ALLOCATOR -> myHDC.Polyarc ( myX, myY, myXr, myYr ); @@ -467,7 +467,7 @@ W32_EllipseNote :: W32_EllipseNote ( int xc, int yc, int xr, int yr ) : } // end constructor -void W32_EllipseNote :: Play ( BOOL fDummy ) { +void W32_EllipseNote :: Play ( BOOL ) { ALLOCATOR -> myHDC.Arc ( myX, myY, myXr, myYr ); @@ -484,7 +484,7 @@ W32_ArcNote :: W32_ArcNote ( } // end constructor -void W32_ArcNote :: Play ( BOOL fDummy ) { +void W32_ArcNote :: Play ( BOOL ) { ALLOCATOR -> myHDC.Arc ( myX, myY, myXr, myYr, mySa, myOa ); @@ -498,7 +498,7 @@ W32_PolyChordNote :: W32_PolyChordNote ( } // end constructor -void W32_PolyChordNote :: Play ( BOOL fDummy ) { +void W32_PolyChordNote :: Play ( BOOL ) { ALLOCATOR -> myHDC.Polyarc ( myX, myY, myXr, myYr, mySa, myOa ); @@ -512,7 +512,7 @@ W32_ChordNote :: W32_ChordNote ( } // end constructor -void W32_ChordNote :: Play ( BOOL fDummy ) { +void W32_ChordNote :: Play ( BOOL ) { ALLOCATOR -> myHDC.Arc ( myX, myY, myXr, myYr, mySa, myOa ); @@ -526,7 +526,7 @@ W32_PolySectorNote :: W32_PolySectorNote ( } // end constructor -void W32_PolySectorNote :: Play ( BOOL fDummy ) { +void W32_PolySectorNote :: Play ( BOOL ) { ALLOCATOR -> myHDC.Polyarc ( myX, myY, myXr, myYr, mySa, myOa, FALSE ); @@ -540,7 +540,7 @@ W32_SectorNote :: W32_SectorNote ( } // end constructor -void W32_SectorNote :: Play ( BOOL fDummy ) { +void W32_SectorNote :: Play ( BOOL ) { ALLOCATOR -> myHDC.Arc ( myX, myY, myXr, myYr, mySa, myOa, ARCF_PIE ); @@ -578,7 +578,7 @@ W32_PolyMarker1Note :: W32_PolyMarker1Note ( } // end constructor -void W32_PolyMarker1Note :: Play ( BOOL fDummy ) { +void W32_PolyMarker1Note :: Play ( BOOL ) { if ( ALLOCATOR -> myFlags & W32F_MFILL ) @@ -604,7 +604,7 @@ W32_PolyMarker2Note :: W32_PolyMarker2Note ( } // end constructor -void W32_PolyMarker2Note :: Play ( BOOL fDummy ) { +void W32_PolyMarker2Note :: Play ( BOOL ) { if ( ALLOCATOR -> myFlags & W32F_MFILL ) @@ -623,7 +623,7 @@ W32_PolygonNote :: W32_PolygonNote ( int aMaxPoints ) : } // end constructor -void W32_PolygonNote :: Play ( BOOL fDummy ) { +void W32_PolygonNote :: Play ( BOOL ) { ALLOCATOR -> myHDC.Polygon ( myPoints, mySetPoints, @@ -650,7 +650,7 @@ W32_PolylineNote :: W32_PolylineNote ( int aMaxPoints ) : } // end constructor -void W32_PolylineNote :: Play ( BOOL fDummy ) { +void W32_PolylineNote :: Play ( BOOL ) { DWORD nPts; BOOL fClose; @@ -697,7 +697,7 @@ W32_ImageNote :: ~W32_ImageNote () { } // end W32_ImageNote :: ~W32_ImageNote -void W32_ImageNote :: Play ( BOOL fDummy ) { +void W32_ImageNote :: Play ( BOOL ) { int xx, yy, w, h; HDC hdc, hdcMem; @@ -902,7 +902,7 @@ W32_TextNote :: W32_TextNote ( } // end constructor -void W32_TextNote :: Play ( BOOL fDummy ) { +void W32_TextNote :: Play ( BOOL ) { if ( myFlags & W32F_TUNICODE ) @@ -930,7 +930,7 @@ W32_PolyTextNote :: W32_PolyTextNote ( } // end constructor -void W32_PolyTextNote :: Play ( BOOL fDummy ) { +void W32_PolyTextNote :: Play ( BOOL ) { BOOL fNofill = ( ALLOCATOR -> myFlags & W32F_NOFIL ? TRUE : FALSE ); BOOL fNoframe = ( ALLOCATOR -> myFlags & W32F_POUTL ? FALSE : TRUE ); @@ -962,7 +962,7 @@ W32_BeginMarkerNote :: W32_BeginMarkerNote ( } // end constructor -void W32_BeginMarkerNote :: Play ( BOOL fDummy ) { +void W32_BeginMarkerNote :: Play ( BOOL ) { XFORM xfm; LOGBRUSH lb = { BS_SOLID, ALLOCATOR -> myMarkerPointColor, 0 }; @@ -987,7 +987,7 @@ void W32_BeginMarkerNote :: Play ( BOOL fDummy ) { //////////////////////////////////////////////////////////////////////////////// W32_EndMarkerNote :: W32_EndMarkerNote () {} -void W32_EndMarkerNote :: Play ( BOOL fDummy ) { +void W32_EndMarkerNote :: Play ( BOOL ) { ALLOCATOR -> Xform (); ALLOCATOR -> myHDC.SelectEPen ( 0xFFFFFFFF, NULL ); @@ -1161,7 +1161,7 @@ W32_MarkerAttribNote :: W32_MarkerAttribNote ( } // end constructor -void W32_MarkerAttribNote :: Play ( BOOL fDummy ) { +void W32_MarkerAttribNote :: Play ( BOOL ) { ALLOCATOR -> myMarkerBrush.lbStyle = BS_SOLID; ALLOCATOR -> myMarkerBrush.lbColor = ALLOCATOR -> myPolyBrush.lbColor; @@ -1190,7 +1190,7 @@ W32_FCallNote :: W32_FCallNote ( } // end constructor -void W32_FCallNote :: Play ( BOOL fDummy ) { +void W32_FCallNote :: Play ( BOOL ) { ( *myFunc ) ( myParam ); diff --git a/src/WNT/WNT_Allocator.cxx b/src/WNT/WNT_Allocator.cxx index a16cf8bd5f..0f15af97e4 100755 --- a/src/WNT/WNT_Allocator.cxx +++ b/src/WNT/WNT_Allocator.cxx @@ -496,7 +496,7 @@ WNT_PointNote :: WNT_PointNote ( int x, int y ) : { } // end constructor -void WNT_PointNote :: Play ( BOOL fDummy ) +void WNT_PointNote :: Play ( BOOL ) { Xform (); SetPixel ( ALLOCATOR -> myHDC, myTX, myTY, ALLOCATOR -> myPointColor ); @@ -517,7 +517,7 @@ WNT_MarkerPointNote :: WNT_MarkerPointNote ( int x, int y ) : { } // end constructor -void WNT_MarkerPointNote :: Play ( BOOL fDummy ) +void WNT_MarkerPointNote :: Play ( BOOL ) { Xform (); SetPixel ( ALLOCATOR -> myHDC, myTX, myTY, ALLOCATOR -> myMarkerPointColor ); @@ -532,7 +532,7 @@ WNT_LineNote :: WNT_LineNote ( int x, int y, int x1, int y1 ) : myY2 = y1; } // end constructor -void WNT_LineNote :: Play ( BOOL fDummy ) +void WNT_LineNote :: Play ( BOOL ) { Xform (); MoveToEx ( ALLOCATOR -> myHDC, myTX , myTY, NULL ); @@ -557,7 +557,7 @@ WNT_PolyEllipseNote :: WNT_PolyEllipseNote ( int xc, int yc, int xr, int yr ) : myYr = yr; } // end constructor -void WNT_PolyEllipseNote :: Play ( BOOL fDummy ) +void WNT_PolyEllipseNote :: Play ( BOOL ) { Xform (); Ellipse ( ALLOCATOR -> myHDC, myTX - myTXr, myTY - myTYr, @@ -580,7 +580,7 @@ WNT_EllipseNote :: WNT_EllipseNote ( int xc, int yc, int xr, int yr ) : { } // end constructor -void WNT_EllipseNote :: Play ( BOOL fDummy ) +void WNT_EllipseNote :: Play ( BOOL ) { Xform (); HBRUSH hob = SelectBrush ( ALLOCATOR -> myHDC, GetStockObject (NULL_BRUSH) ); @@ -608,7 +608,7 @@ WNT_ArcNote :: WNT_ArcNote ( myEY = int ( eSinA * 2 * Radius + yc ); } // end constructor -void WNT_ArcNote :: Play ( BOOL fDummy ) +void WNT_ArcNote :: Play ( BOOL ) { Xform (); SetArcDirection ( ALLOCATOR -> myHDC, myDirect ); @@ -636,7 +636,7 @@ WNT_PolyChordNote :: WNT_PolyChordNote ( { } // end constructor -void WNT_PolyChordNote :: Play ( BOOL fDummy ) +void WNT_PolyChordNote :: Play ( BOOL ) { Xform (); Chord ( ALLOCATOR -> myHDC, myTX - myTXr, myTY - myTYr, @@ -652,7 +652,7 @@ WNT_ChordNote :: WNT_ChordNote ( { } // end constructor -void WNT_ChordNote :: Play ( BOOL fDummy ) +void WNT_ChordNote :: Play ( BOOL ) { Xform (); HBRUSH hob = SelectBrush ( ALLOCATOR -> myHDC, GetStockObject (NULL_BRUSH) ); @@ -670,7 +670,7 @@ WNT_PolySectorNote :: WNT_PolySectorNote ( { } // end constructor -void WNT_PolySectorNote :: Play ( BOOL fDummy ) +void WNT_PolySectorNote :: Play ( BOOL ) { Xform (); Pie ( ALLOCATOR -> myHDC, myTX - myTXr, myTY - myTYr, @@ -686,7 +686,7 @@ WNT_SectorNote :: WNT_SectorNote ( { } // end constructor -void WNT_SectorNote :: Play ( BOOL fDummy ) +void WNT_SectorNote :: Play ( BOOL ) { Xform (); HBRUSH hob = SelectBrush ( ALLOCATOR -> myHDC, GetStockObject (NULL_BRUSH) ); @@ -732,7 +732,7 @@ WNT_PolyMarker1Note :: WNT_PolyMarker1Note ( { } // end constructor -void WNT_PolyMarker1Note :: Play ( BOOL fDummy ) +void WNT_PolyMarker1Note :: Play ( BOOL ) { if ( ALLOCATOR -> myFlags & W32F_MFILL ) DrawPolygon ( ALLOCATOR -> myHDC, myPoints, mySetPoints, POLYF_NOCLOSEDGE ); @@ -751,7 +751,7 @@ WNT_PolyMarker2Note :: WNT_PolyMarker2Note ( { } // end constructor -void WNT_PolyMarker2Note :: Play ( BOOL fDummy ) +void WNT_PolyMarker2Note :: Play ( BOOL ) { if ( ALLOCATOR -> myFlags & W32F_MFILL ) DrawPolygon ( ALLOCATOR -> myHDC, myPoints, mySetPoints - 1, 0 ); @@ -767,7 +767,7 @@ WNT_PolygonNote :: WNT_PolygonNote ( int aMaxPoints ) : myTPoints = ( LPPOINT ) ALLOCATOR -> NewData (myMaxPoints * sizeof ( POINT )); } // end constructor -void WNT_PolygonNote :: Play ( BOOL fDummy ) +void WNT_PolygonNote :: Play ( BOOL ) { Xform (); DrawPolygon ( @@ -791,7 +791,7 @@ WNT_PolylineNote :: WNT_PolylineNote ( int aMaxPoints ) : { } // end constructor -void WNT_PolylineNote :: Play ( BOOL fDummy ) +void WNT_PolylineNote :: Play ( BOOL ) { Xform (); DWORD nPts; @@ -828,7 +828,7 @@ WNT_ImageNote :: ~WNT_ImageNote () } // end if } // end WNT_ImageNote :: ~WNT_ImageNote -void WNT_ImageNote :: Play ( BOOL fDummy ) +void WNT_ImageNote :: Play ( BOOL ) { Xform (); int xx, yy, w, h; @@ -923,7 +923,7 @@ void WNT_TextNote :: FillText () PaintText (); } // end WNT_TextNote :: FillText -void WNT_TextNote :: Play ( BOOL fDummy ) +void WNT_TextNote :: Play ( BOOL ) { Xform (); SIZE size; @@ -984,7 +984,7 @@ WNT_PolyTextNote :: WNT_PolyTextNote ( { } // end constructor -void WNT_PolyTextNote :: Play ( BOOL fDummy ) +void WNT_PolyTextNote :: Play ( BOOL ) { Xform (); SIZE size; @@ -1042,7 +1042,7 @@ WNT_BeginMarkerNote :: WNT_BeginMarkerNote ( ALLOCATOR -> RecalcMatrix (myMatrix, myAngle - myPrevAngle, myX, myY); } // end constructor -void WNT_BeginMarkerNote :: Play ( BOOL fDummy ) +void WNT_BeginMarkerNote :: Play ( BOOL ) { ALLOCATOR -> myPO = SelectPen (ALLOCATOR -> myHDC, ALLOCATOR -> myMarkerPen); #ifdef PRO19042 @@ -1076,7 +1076,7 @@ WNT_EndMarkerNote :: WNT_EndMarkerNote () { } -void WNT_EndMarkerNote :: Play ( BOOL fDummy ) +void WNT_EndMarkerNote :: Play ( BOOL ) { ALLOCATOR -> Xform (); SelectPen ( ALLOCATOR -> myHDC, ALLOCATOR -> myPO ); @@ -1139,7 +1139,7 @@ void WNT_LineAttribNote :: Play ( BOOL fRealize ) // W N T _ P o l y A t t r i b N o t e // //////////////////////////////////////////////////////////////////////////////// WNT_PolyAttribNote :: WNT_PolyAttribNote ( - PLOGBRUSH plb, BOOL fDrawEdge, int aFillMode + PLOGBRUSH plb, BOOL fDrawEdge, int /*aFillMode*/ ) { myfEdge = fDrawEdge; @@ -1281,7 +1281,7 @@ printf(" *** Destroy:WNT_MarkerAttribNote %x/%x\n",myPen,ALLOCATOR->myMarkerPen) #endif } // enf WNT_MarkerAttribNote :: ~WNT_MarkerAttribNote -void WNT_MarkerAttribNote :: Play ( BOOL fRealize ) +void WNT_MarkerAttribNote :: Play ( BOOL ) { if (myFill) ALLOCATOR -> myFlags |= W32F_MFILL; else ALLOCATOR -> myFlags &= ~W32F_MFILL; diff --git a/src/XSDRAWSTLVRML/XSDRAWSTLVRML_DataSource.cxx b/src/XSDRAWSTLVRML/XSDRAWSTLVRML_DataSource.cxx index e6020b7b96..fa6bb93203 100755 --- a/src/XSDRAWSTLVRML/XSDRAWSTLVRML_DataSource.cxx +++ b/src/XSDRAWSTLVRML/XSDRAWSTLVRML_DataSource.cxx @@ -165,7 +165,7 @@ Standard_Address XSDRAWSTLVRML_DataSource::GetAddr Standard_Boolean XSDRAWSTLVRML_DataSource::GetNodesByElement ( const Standard_Integer ID, TColStd_Array1OfInteger& theNodeIDs, - Standard_Integer& theNbNodes ) const + Standard_Integer& /*theNbNodes*/ ) const { if( myMesh.IsNull() ) return Standard_False; diff --git a/src/XSDRAWSTLVRML/XSDRAWSTLVRML_DrawableMesh.cxx b/src/XSDRAWSTLVRML/XSDRAWSTLVRML_DrawableMesh.cxx index 6a1d260c5a..bbe37a6cbe 100755 --- a/src/XSDRAWSTLVRML/XSDRAWSTLVRML_DrawableMesh.cxx +++ b/src/XSDRAWSTLVRML/XSDRAWSTLVRML_DrawableMesh.cxx @@ -33,7 +33,7 @@ XSDRAWSTLVRML_DrawableMesh::XSDRAWSTLVRML_DrawableMesh( const Handle( MeshVS_Mes // Function : // Purpose : //================================================================ -void XSDRAWSTLVRML_DrawableMesh::DrawOn(Draw_Display& d) const +void XSDRAWSTLVRML_DrawableMesh::DrawOn(Draw_Display& /*d*/) const { } diff --git a/src/math/math_KronrodSingleIntegration.cxx b/src/math/math_KronrodSingleIntegration.cxx index 49dabc1cd1..6abce44d33 100755 --- a/src/math/math_KronrodSingleIntegration.cxx +++ b/src/math/math_KronrodSingleIntegration.cxx @@ -271,7 +271,7 @@ Standard_Boolean math_KronrodSingleIntegration::GKRule( math_Function &theFunction, const Standard_Real theLower, const Standard_Real theUpper, - const math_Vector& theGaussP, + const math_Vector& /*theGaussP*/, const math_Vector& theGaussW, const math_Vector& theKronrodP, const math_Vector& theKronrodW, -- 2.20.1