From 54b7f7e1141baf797a59dd527a35586d36ae8c32 Mon Sep 17 00:00:00 2001 From: prascle Date: Mon, 5 Dec 2005 11:07:41 +0000 Subject: [PATCH] PR: avoid unnecessary tests and warnings --- src/NamingService/SALOME_NamingService.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); } } -- 2.39.2