[MOAB-dev] r1445 - MOAB/trunk/mhdf/src

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Fri Dec 7 14:42:03 CST 2007


Author: kraftche
Date: 2007-12-07 14:42:03 -0600 (Fri, 07 Dec 2007)
New Revision: 1445

Modified:
   MOAB/trunk/mhdf/src/file.c
Log:
fix bug passing back max file ID

Modified: MOAB/trunk/mhdf/src/file.c
===================================================================
--- MOAB/trunk/mhdf/src/file.c	2007-12-07 18:35:36 UTC (rev 1444)
+++ MOAB/trunk/mhdf/src/file.c	2007-12-07 20:42:03 UTC (rev 1445)
@@ -266,7 +266,6 @@
   FileHandle* file_ptr;
   unsigned int flags;
   hid_t group_id;
-  unsigned long long max_id = 0;
   API_BEGIN;
   
     /* Check if file is HDF5 */
@@ -307,7 +306,7 @@
   }
   
   if (max_id_out)
-    *max_id_out = max_id;
+    *max_id_out = file_ptr->max_id;
     
   mhdf_setOkay( status );
   API_END_H(1);




More information about the moab-dev mailing list