]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
Fix for bug PAL9508 : CRASH after trying to run inline node with in/out ports of...
authorsan <san@opencascade.com>
Mon, 18 Jul 2005 11:54:03 +0000 (11:54 +0000)
committersan <san@opencascade.com>
Mon, 18 Jul 2005 11:54:03 +0000 (11:54 +0000)
src/GraphExecutor/DataFlowExecutor_InNodeThreads.cxx

index b33fa38e40da9634d376e03872d1a9a5ce7ed8ae..46a721c07369892774f57fcf5df0e3e197008daa 100644 (file)
@@ -2733,7 +2733,8 @@ void GraphExecutor::InNode::InOutParametersSet( int nOutParams ,
     cdebug << ThreadNo() << " ArgOut" << i << " " << D.Name << " Done("
            << OutDone << ") " << Type << " : " << endl ;
     if ( !strcmp( Type , "string" ) ) {
-      D.Value <<= (char *) NULL ;
+      char* ch = "";
+      D.Value <<= (char *) ch;
     }
     else if ( !strcmp( Type , "boolean" ) ) {
       bool b = 0 ;