]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
Preparation win32 version V7_2_BR V7_2_0_WIN
authorana <ana@opencascade.com>
Wed, 31 Jul 2013 15:27:11 +0000 (15:27 +0000)
committerana <ana@opencascade.com>
Wed, 31 Jul 2013 15:27:11 +0000 (15:27 +0000)
src/NETGENPlugin/NETGENPlugin_Mesher.cxx

index 3f888ff4efff0f69c0397f2adb0ba3be599a7025..b0604e8d6204a91cc61a7db9b409af35531add9a 100644 (file)
@@ -2900,8 +2900,9 @@ bool NETGENPlugin_Mesher::Evaluate(MapShapeNbElems& aResMap)
 
 void NETGENPlugin_Mesher::RemoveTmpFiles()
 {
+  bool rm =  SMESH_File("test.out").remove() ;
 #ifndef WIN32
-  if ( SMESH_File("test.out").remove() && netgen::testout)
+  if (rm && netgen::testout)
   {
     delete netgen::testout;
     netgen::testout = 0;