From: maintenance team Date: Wed, 27 Sep 2006 11:21:40 +0000 (+0000) Subject: Correction for problem: Command "dump stydy" doesn't work at first time at load Post... X-Git-Tag: V3_2_3pre1~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b31b5fe8c71d16b9311d77bcf67faaad15a24c7a;p=modules%2Fkernel.git Correction for problem: Command "dump stydy" doesn't work at first time at load Post-Pro module. --- diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx index 63b5c2c3a..f6c2fa1f6 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx @@ -1361,7 +1361,7 @@ bool SALOMEDSImpl_Study::DumpStudy(const TCollection_AsciiString& thePath, if(aDriver == NULL) continue; - bool isValidScript; + bool isValidScript = false; long aStreamLength = 0; Handle(SALOMEDSImpl_TMPFile) aStream = aDriver->DumpPython(this, isPublished, isValidScript, aStreamLength); if ( !isValidScript )