From: ana Date: Wed, 31 Jul 2013 15:27:11 +0000 (+0000) Subject: Preparation win32 version X-Git-Tag: V7_2_0_WIN X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6e4c9076339fe133db2b35cade62b32048b739de;p=plugins%2Fnetgenplugin.git Preparation win32 version --- diff --git a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx index 3f888ff..b0604e8 100644 --- a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx @@ -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;