From a4b4f841b5355eb01baca97f720f83c362ab5f7c Mon Sep 17 00:00:00 2001 From: ageay Date: Tue, 6 Aug 2013 14:52:35 +0000 Subject: [PATCH] Windows warning hunting --- src/MEDCoupling/MEDCouplingFieldDouble.cxx | 2 +- src/MEDCoupling/MEDCouplingFieldOverTime.cxx | 4 ++-- src/MEDCoupling/MEDCouplingFieldTemplate.cxx | 2 +- src/MEDCoupling/MEDCouplingMultiFields.cxx | 2 +- src/MEDCoupling/MEDCouplingRemapper.cxx | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) 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; } -- 2.39.2