[MOAB-dev] r4662 - MOAB/trunk/src/io/mhdf/src
tautges at mcs.anl.gov
tautges at mcs.anl.gov
Sun Mar 27 11:18:24 CDT 2011
Author: tautges
Date: 2011-03-27 11:18:23 -0500 (Sun, 27 Mar 2011)
New Revision: 4662
Modified:
MOAB/trunk/src/io/mhdf/src/file.c
Log:
Really eliminate the warning this time.
Modified: MOAB/trunk/src/io/mhdf/src/file.c
===================================================================
--- MOAB/trunk/src/io/mhdf/src/file.c 2011-03-26 21:06:01 UTC (rev 4661)
+++ MOAB/trunk/src/io/mhdf/src/file.c 2011-03-27 16:18:23 UTC (rev 4662)
@@ -295,10 +295,9 @@
FileHandle* file_ptr;
unsigned int flags;
hid_t group_id;
-/* initialize err to eliminate compiler warning */
- herr_t err = 1;
int check_is_hdf5 = 1;
#ifdef HDF5_PARALLEL
+ herr_t err;
MPI_Comm comm;
MPI_Info info;
#endif
More information about the moab-dev
mailing list