0029152: Coding Rules - eliminate GCC compiler warnings -Wmisleading-indentation...
[occt.git] / src / OSD / OSD_FileNode.cxx
index d35942a..2750496 100644 (file)
@@ -858,6 +858,9 @@ void _osd_wnt_set_error ( OSD_Error& err, OSD_WhoAmI who, ... ) {
 }  // end _set_error
 
 #if defined(__CYGWIN32__) || defined(__MINGW32__)
+#ifdef __try /* is defined on MinGw as either "try" or "if (true)" */
+#undef __try
+#endif
 #define __try
 #define __finally
 #define __leave return retVal
@@ -904,10 +907,6 @@ static BOOL __fastcall _get_file_time (const wchar_t* fName, LPSYSTEMTIME lpSysT
  
  }  // end __finally
 
-#ifdef VAC
-leave: ;      // added for VisualAge
-#endif
-
  return retVal;
 
 }  // end _get_file_time