]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Correction for problem: Command "dump stydy" doesn't work at first time at load Post...
authormaintenance team <salome-mnt@opencascade.com>
Wed, 27 Sep 2006 11:21:40 +0000 (11:21 +0000)
committermaintenance team <salome-mnt@opencascade.com>
Wed, 27 Sep 2006 11:21:40 +0000 (11:21 +0000)
src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx

index 63b5c2c3a67e292ebcfdc845d16c487382f4a69c..f6c2fa1f6db92b51d30ce6864f771c63de3a0c82 100644 (file)
@@ -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 )