From 8317c21cad8ee1d8f6937d547fcaadeb411dda42 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 15 Mar 2012 12:11:16 +0000 Subject: [PATCH] void UpdateParameters(const char* theParameters) { + if ( strlen(theParameters) == 0 ) return; --- src/SMESH_I/SMESH_Gen_i_1.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] == ':' )