[MOAB-dev] r4343 - in MOAB/trunk: src src/io/mhdf/src tools/refiner
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Thu Dec 9 14:24:25 CST 2010
Author: kraftche
Date: 2010-12-09 14:24:25 -0600 (Thu, 09 Dec 2010)
New Revision: 4343
Modified:
MOAB/trunk/src/Core.cpp
MOAB/trunk/src/io/mhdf/src/file.c
MOAB/trunk/src/io/mhdf/src/tags.c
MOAB/trunk/tools/refiner/MeshOutputFunctor.cpp
MOAB/trunk/tools/refiner/RefinerTagManager.cpp
MOAB/trunk/tools/refiner/SplitVertices.cpp
Log:
fix warnings
Modified: MOAB/trunk/src/Core.cpp
===================================================================
--- MOAB/trunk/src/Core.cpp 2010-12-09 19:41:48 UTC (rev 4342)
+++ MOAB/trunk/src/Core.cpp 2010-12-09 20:24:25 UTC (rev 4343)
@@ -168,7 +168,7 @@
}
writeMPELog = ! MPE_Initialized_logging();
if (writeMPELog)
- MPE_Init_log();
+ (void)MPE_Init_log();
}
#endif
Modified: MOAB/trunk/src/io/mhdf/src/file.c
===================================================================
--- MOAB/trunk/src/io/mhdf/src/file.c 2010-12-09 19:41:48 UTC (rev 4342)
+++ MOAB/trunk/src/io/mhdf/src/file.c 2010-12-09 20:24:25 UTC (rev 4343)
@@ -393,6 +393,7 @@
mhdf_Status* status )
{
FileHandle* file_ptr;
+ int result;
API_BEGIN;
file_ptr = (FileHandle*)(handle);
@@ -401,7 +402,7 @@
/* Check for open handles. HDF5 will not actually close the
file until all handles are closed. */
- int result = H5Fget_obj_count( file_ptr->hdf_handle, H5F_OBJ_ALL );
+ result = H5Fget_obj_count( file_ptr->hdf_handle, H5F_OBJ_ALL );
if (result != 1)
{
mhdf_setFail( status, "Cannot close file with open handles: "
Modified: MOAB/trunk/src/io/mhdf/src/tags.c
===================================================================
--- MOAB/trunk/src/io/mhdf/src/tags.c 2010-12-09 19:41:48 UTC (rev 4342)
+++ MOAB/trunk/src/io/mhdf/src/tags.c 2010-12-09 20:24:25 UTC (rev 4343)
@@ -563,10 +563,10 @@
const char* tag_name,
mhdf_Status* status )
{
- API_BEGIN;
FileHandle* file_ptr;
hid_t result;
char* path;
+ API_BEGIN;
/* Validate input */
More information about the moab-dev
mailing list