From: eap Date: Tue, 2 Jul 2013 14:27:15 +0000 (+0000) Subject: 0022238: Study dump produced by SMESH refers to undefined variable names X-Git-Tag: V7_3_0a1~305 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=35035f12126fa68b9acea79140849daf5951d77f 0022238: Study dump produced by SMESH refers to undefined variable names void fixFunctorType() { + ASSERT( undef2newItems.rbegin()->first == SMESH::FT_Undefined ); --- diff --git a/src/SMESH_I/SMESH_2smeshpy.cxx b/src/SMESH_I/SMESH_2smeshpy.cxx index bacaa817d..b0a202b5e 100644 --- a/src/SMESH_I/SMESH_2smeshpy.cxx +++ b/src/SMESH_I/SMESH_2smeshpy.cxx @@ -310,6 +310,8 @@ namespace { undef2newItems[ 44 ].push_back( 37 ); undef2newItems[ 45 ].push_back( 36 ); undef2newItems[ 46 ].push_back( 39 ); + + ASSERT( undef2newItems.rbegin()->first == SMESH::FT_Undefined ); } int iType = Type.IntegerValue();