From: prascle Date: Mon, 5 Dec 2005 11:07:41 +0000 (+0000) Subject: PR: avoid unnecessary tests and warnings X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FBR_UT_V310a3;p=modules%2Fkernel.git PR: avoid unnecessary tests and warnings --- diff --git a/src/NamingService/SALOME_NamingService.cxx b/src/NamingService/SALOME_NamingService.cxx index e0ad5fcd5..bce5f2338 100644 --- a/src/NamingService/SALOME_NamingService.cxx +++ b/src/NamingService/SALOME_NamingService.cxx @@ -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 contList = list_directory(); @@ -1476,8 +1477,6 @@ throw(ServiceUnreachable) Destroy_Name(contList[ind].c_str()); Destroy_Directory(Path); - - Destroy_Name(Path); } }