]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Removed a requiered code from debug statement
authorsrn <srn@opencascade.com>
Fri, 4 Aug 2006 11:26:31 +0000 (11:26 +0000)
committersrn <srn@opencascade.com>
Fri, 4 Aug 2006 11:26:31 +0000 (11:26 +0000)
src/VISU_I/VISU_Result_i.cc

index 8fd3bd924f3e8b63b7c733a888159a5810273985..be9cbc9809e7eaaad0df720215054b50adf188e9 100644 (file)
@@ -1539,7 +1539,7 @@ VISU::Result_i
   return FindEntryWithComment(myStudyDocument,GetEntry().c_str(),theComment.c_str());
 }
 
-
+#include <stdio.h>
 //---------------------------------------------------------------
 VISU::Result_i
 ::~Result_i()
@@ -1548,9 +1548,11 @@ VISU::Result_i
   if (mySourceId == eRestoredFile) {
     static QString aCommand;
     aCommand.sprintf("rm %s",myFileInfo.filePath().latin1());
-    MESSAGE("Result_i::~Result_i - system("<<aCommand<<") = "<<system(aCommand));
+    int res = system(aCommand);
+    MESSAGE("Result_i::~Result_i - system("<<aCommand<<") = "<<res);
     aCommand.sprintf("rmdir --ignore-fail-on-non-empty %s",myFileInfo.dirPath().latin1());
-    MESSAGE("Result_i::~Result_i - system("<<aCommand<<") = "<<system(aCommand));
+    res = system(aCommand);
+    MESSAGE("Result_i::~Result_i - system("<<aCommand<<") = "<<res);
   }
   if(myInput) delete myInput;
 }