[MOAB-dev] r1387 - MOAB/trunk
kraftche at mcs.anl.gov
kraftche at mcs.anl.gov
Tue Nov 13 17:05:00 CST 2007
Author: kraftche
Date: 2007-11-13 17:05:00 -0600 (Tue, 13 Nov 2007)
New Revision: 1387
Modified:
MOAB/trunk/WriteHDF5.cpp
Log:
Fix broken error handling
Modified: MOAB/trunk/WriteHDF5.cpp
===================================================================
--- MOAB/trunk/WriteHDF5.cpp 2007-11-13 22:44:40 UTC (rev 1386)
+++ MOAB/trunk/WriteHDF5.cpp 2007-11-13 23:05:00 UTC (rev 1387)
@@ -140,6 +140,7 @@
mhdf_closeData( filePtr, (B)[1], &(C) ); \
write_finished(); \
myassert(0); \
+ return (A); \
} while(false)
#define CHK_MB_ERR_2C( A, B, C, D, E ) \
@@ -148,6 +149,7 @@
if (C) mhdf_closeData( filePtr, (D), &(E) ); \
write_finished(); \
myassert(0); \
+ return (A); \
} while(false)
/** When writing tags containing MBEntityHandles to file, need to convert tag
More information about the moab-dev
mailing list