From: eap Date: Thu, 15 Mar 2012 12:11:16 +0000 (+0000) Subject: void UpdateParameters(const char* theParameters) X-Git-Tag: V6_5_0a1~46 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8317c21cad8ee1d8f6937d547fcaadeb411dda42;p=modules%2Fsmesh.git void UpdateParameters(const char* theParameters) { + if ( strlen(theParameters) == 0 ) return; --- diff --git a/src/SMESH_I/SMESH_Gen_i_1.cxx b/src/SMESH_I/SMESH_Gen_i_1.cxx index cb6df20e4..27c50ecec 100644 --- a/src/SMESH_I/SMESH_Gen_i_1.cxx +++ b/src/SMESH_I/SMESH_Gen_i_1.cxx @@ -916,7 +916,7 @@ void SMESH_Gen_i::UpdateParameters(/*CORBA::Object_ptr theObject,*/ const char* return; myLastParameters.clear(); int pos = 0, prevPos = 0, len = strlen( theParameters ); - //if ( len == 0 ) return; + if ( len == 0 ) return; while ( pos <= len ) { if ( pos == len || theParameters[pos] == ':' )