]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PR: avoid unnecessary tests and warnings BR_UT_V310a3
authorprascle <prascle>
Mon, 5 Dec 2005 11:07:41 +0000 (11:07 +0000)
committerprascle <prascle>
Mon, 5 Dec 2005 11:07:41 +0000 (11:07 +0000)
src/NamingService/SALOME_NamingService.cxx

index e0ad5fcd59e69d2487ca1d186878731643d8ce04..bce5f23380f99cd43714396c7f2400a235ebdcaa 100644 (file)
@@ -1293,7 +1293,7 @@ throw(ServiceUnreachable)
 void SALOME_NamingService::Destroy_Directory(const char* Path)
 throw(ServiceUnreachable)
 {
-  MESSAGE("BEGIN OF Destroy_Directory" << Path);
+  MESSAGE("BEGIN OF Destroy_Directory " << Path);
 
   Utils_Locker lock (&_myMutex);
 
@@ -1468,6 +1468,7 @@ throw(ServiceUnreachable)
 void SALOME_NamingService::Destroy_FullDirectory(const char* Path)
 throw(ServiceUnreachable)
 {
+  MESSAGE("begin of Destroy_FullDirectory " << Path);
   if( Change_Directory(Path) )
     {
       vector<string> contList = list_directory();
@@ -1476,8 +1477,6 @@ throw(ServiceUnreachable)
        Destroy_Name(contList[ind].c_str());
       
       Destroy_Directory(Path);
-      
-      Destroy_Name(Path);
     }
 }