[MOAB-dev] r2865 - MOAB/trunk

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Thu Apr 30 16:05:58 CDT 2009


Author: kraftche
Date: 2009-04-30 16:05:58 -0500 (Thu, 30 Apr 2009)
New Revision: 2865

Modified:
   MOAB/trunk/ReadHDF5.cpp
Log:
fix warning

Modified: MOAB/trunk/ReadHDF5.cpp
===================================================================
--- MOAB/trunk/ReadHDF5.cpp	2009-04-30 21:03:28 UTC (rev 2864)
+++ MOAB/trunk/ReadHDF5.cpp	2009-04-30 21:05:58 UTC (rev 2865)
@@ -2000,6 +2000,9 @@
       desc = &fileInfo->elems[elem_idx].desc;
       name = fileInfo->elems[elem_idx].handle;
     }
+    else {
+      return error(MB_FAILURE);
+    }
     
     hid_t handle = mhdf_openDenseTagData( filePtr, 
                                           fileInfo->tags[tag_index].name,



More information about the moab-dev mailing list