From: Anthony Geay Date: Mon, 13 Oct 2014 07:17:36 +0000 (+0200) Subject: Unwarnigization with gcc 4.8 (3) X-Git-Tag: V7_5_0a1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ba9a3ac7bcfe987d515e2d9805ffc5dedb7d96e1;p=tools%2Fmedcoupling.git Unwarnigization with gcc 4.8 (3) --- 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