From: ageay Date: Tue, 6 Aug 2013 14:52:35 +0000 (+0000) Subject: Windows warning hunting X-Git-Tag: DBugPolyhIntersector~37 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d9b6f44eb5fe3f552685afe17c425af3a52b744a;p=modules%2Fmed.git Windows warning hunting --- diff --git a/src/MEDCoupling/MEDCouplingFieldDouble.cxx b/src/MEDCoupling/MEDCouplingFieldDouble.cxx index 45488f602..84bdb53d0 100644 --- a/src/MEDCoupling/MEDCouplingFieldDouble.cxx +++ b/src/MEDCoupling/MEDCouplingFieldDouble.cxx @@ -3114,7 +3114,7 @@ void MEDCouplingFieldDouble::reprQuickOverview(std::ostream& stream) const throw nat=MEDCouplingNatureOfField::GetRepr(_nature); stream << "Nature of field : " << nat << ".\n"; } - catch(INTERP_KERNEL::Exception& e) + catch(INTERP_KERNEL::Exception& /*e*/) { } const MEDCouplingFieldDiscretization *fd(_type); if(!fd) diff --git a/src/MEDCoupling/MEDCouplingFieldOverTime.cxx b/src/MEDCoupling/MEDCouplingFieldOverTime.cxx index 01c48b7eb..4eb59b09a 100644 --- a/src/MEDCoupling/MEDCouplingFieldOverTime.cxx +++ b/src/MEDCoupling/MEDCouplingFieldOverTime.cxx @@ -87,14 +87,14 @@ std::string MEDCouplingFieldOverTime::simpleRepr() const ms=getDifferentMeshes(refms); ret << ms.size() << "\n"; } - catch(INTERP_KERNEL::Exception& e) + catch(INTERP_KERNEL::Exception& /*e*/) { ret << "Current instance is INVALID !\n"; } try { MEDCouplingDefinitionTime dt=getDefinitionTimeZone(); dt.appendRepr(ret); } - catch(INTERP_KERNEL::Exception& e) + catch(INTERP_KERNEL::Exception& /*e*/) { ret << "Definition zone is INVALID !\n"; } return ret.str(); } diff --git a/src/MEDCoupling/MEDCouplingFieldTemplate.cxx b/src/MEDCoupling/MEDCouplingFieldTemplate.cxx index 235146889..0ca1bd0a6 100644 --- a/src/MEDCoupling/MEDCouplingFieldTemplate.cxx +++ b/src/MEDCoupling/MEDCouplingFieldTemplate.cxx @@ -139,7 +139,7 @@ void MEDCouplingFieldTemplate::reprQuickOverview(std::ostream& stream) const thr nat=MEDCouplingNatureOfField::GetRepr(_nature); stream << "Nature of field template : " << nat << ".\n"; } - catch(INTERP_KERNEL::Exception& e) + catch(INTERP_KERNEL::Exception& /*e*/) { } const MEDCouplingFieldDiscretization *fd(_type); if(!fd) diff --git a/src/MEDCoupling/MEDCouplingMultiFields.cxx b/src/MEDCoupling/MEDCouplingMultiFields.cxx index 963eed05c..4e3c6580e 100644 --- a/src/MEDCoupling/MEDCouplingMultiFields.cxx +++ b/src/MEDCoupling/MEDCouplingMultiFields.cxx @@ -128,7 +128,7 @@ std::string MEDCouplingMultiFields::simpleRepr() const ms=getDifferentMeshes(refms); ret << ms.size() << "\n"; } - catch(INTERP_KERNEL::Exception& e) + catch(INTERP_KERNEL::Exception& /*e*/) { ret << "Current instance is INVALID !\n"; } return ret.str(); } diff --git a/src/MEDCoupling/MEDCouplingRemapper.cxx b/src/MEDCoupling/MEDCouplingRemapper.cxx index 45355f150..2843f8831 100644 --- a/src/MEDCoupling/MEDCouplingRemapper.cxx +++ b/src/MEDCoupling/MEDCouplingRemapper.cxx @@ -801,7 +801,7 @@ bool MEDCouplingRemapper::isInterpKernelOnlyOrNotOnly() const throw(INTERP_KERNE INTERP_KERNEL::Interpolation::CheckAndSplitInterpolationMethod(method.c_str(),tmp1,tmp2); return true; } - catch(INTERP_KERNEL::Exception& e) + catch(INTERP_KERNEL::Exception& /*e*/) { return false; } @@ -813,7 +813,7 @@ bool MEDCouplingRemapper::isInterpKernelOnlyOrNotOnly() const throw(INTERP_KERNE CheckInterpolationMethodManageableByNotOnlyInterpKernel(method); return false; } - catch(INTERP_KERNEL::Exception& e) + catch(INTERP_KERNEL::Exception& /*e*/) { return true; }