]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PR: test setProperties
authorprascle <prascle>
Thu, 29 Apr 2004 20:13:24 +0000 (20:13 +0000)
committerprascle <prascle>
Thu, 29 Apr 2004 20:13:24 +0000 (20:13 +0000)
src/TestContainer/SALOME_TestComponent_i.cxx

index 66f55c70e4933cd095664571494185560cea14e2..cca19c31a84f6b0c0b107be2b9262b5b12f9e950 100644 (file)
@@ -83,7 +83,8 @@ void Engines_TestComponent_i::Setenv()
     {
       std::string cle((*it).first);
       char* valenv= getenv(cle.c_str());
-      MESSAGE("--- getenv: "<<cle<<" = "<< valenv);
+      if (valenv)
+       MESSAGE("--- getenv: "<<cle<<" = "<< valenv);
     }
 }