From ba9a3ac7bcfe987d515e2d9805ffc5dedb7d96e1 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Mon, 13 Oct 2014 09:17:36 +0200 Subject: [PATCH] Unwarnigization with gcc 4.8 (3) --- src/INTERP_KERNEL/InterpolationCU.txx | 1 - src/INTERP_KERNEL/MeshUtils.hxx | 1 - src/INTERP_KERNEL/SplitterTetra.txx | 3 --- 3 files changed, 5 deletions(-) diff --git a/src/INTERP_KERNEL/InterpolationCU.txx b/src/INTERP_KERNEL/InterpolationCU.txx index 9cef0e98c..2ff02186c 100644 --- a/src/INTERP_KERNEL/InterpolationCU.txx +++ b/src/INTERP_KERNEL/InterpolationCU.txx @@ -97,7 +97,6 @@ namespace INTERP_KERNEL MatrixType& result, const char * method) { - typedef typename MyUMeshType::MyConnType ConnType; typedef typename MyCMeshType::MyConnType CConnType; if ( std::string("P0P0") != method ) diff --git a/src/INTERP_KERNEL/MeshUtils.hxx b/src/INTERP_KERNEL/MeshUtils.hxx index d7c9d0e96..5250307f3 100644 --- a/src/INTERP_KERNEL/MeshUtils.hxx +++ b/src/INTERP_KERNEL/MeshUtils.hxx @@ -83,7 +83,6 @@ namespace INTERP_KERNEL template inline const double* getCoordsOfNode2(typename MyMeshType::MyConnType node, typename MyMeshType::MyConnType element, const MyMeshType& mesh, typename MyMeshType::MyConnType& nodeId) { - typedef typename MyMeshType::MyConnType ConnType; nodeId= getGlobalNumberOfNode(node, element, mesh); return mesh.getCoordinatesPtr()+MyMeshType::MY_SPACEDIM*nodeId; } diff --git a/src/INTERP_KERNEL/SplitterTetra.txx b/src/INTERP_KERNEL/SplitterTetra.txx index bbaad6964..cfcd66f77 100644 --- a/src/INTERP_KERNEL/SplitterTetra.txx +++ b/src/INTERP_KERNEL/SplitterTetra.txx @@ -393,7 +393,6 @@ namespace INTERP_KERNEL { typedef typename MyMeshType::MyConnType ConnType; typedef double Vect2[2]; - typedef double Vect3[3]; typedef double Triangle2[3][2]; const double *const tri0[3] = {p1, p2, p3}; @@ -597,8 +596,6 @@ namespace INTERP_KERNEL std::multiset& listOfTetraFacesTreated, std::set& listOfTetraFacesColinear) { - typedef typename MyMeshType::MyConnType ConnType; - double totalSurface = 0.0; // check if we have planar tetra element -- 2.39.2