summaryrefslogtreecommitdiffstats
path: root/src/H5Smpio.c
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2002-06-04 21:29:05 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2002-06-04 21:29:05 (GMT)
commitdd51aae3ca540fc43ca398beaed9f6643b880265 (patch)
tree5678b1ca712e93c2d7f75daca7a7901dad1a6ff0 /src/H5Smpio.c
parent56e4d8fb0cbbcd1b1036b361758ff84a40d2cb01 (diff)
downloadhdf5-dd51aae3ca540fc43ca398beaed9f6643b880265.zip
hdf5-dd51aae3ca540fc43ca398beaed9f6643b880265.tar.gz
hdf5-dd51aae3ca540fc43ca398beaed9f6643b880265.tar.bz2
[svn-r5530] Purpose:
Code Cleanup Description: Removed some compiler warnings. Solution: In a few cases, NULL was being returned when a FAIL was supposed to be returned instead. There were some header files which needed to be included in a few of the sources. A couple of if-then statements had assignments in the conditional part. The compiler warned that they should have extra "()"s around them. Made the code check the values instead. Platforms tested: Linux (parallel) Modi4 (parallel)
Diffstat (limited to 'src/H5Smpio.c')
-rw-r--r--src/H5Smpio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5Smpio.c b/src/H5Smpio.c
index 22d38a8..c8acc41 100644
--- a/src/H5Smpio.c
+++ b/src/H5Smpio.c
@@ -17,6 +17,7 @@
#include "H5Eprivate.h"
#include "H5Fpkg.h" /* Ugly, but necessary for the MPIO I/O accesses */
#include "H5FDprivate.h" /* Necessary for the H5FD_write & H5FD_read prototypes.. */
+#include "H5Iprivate.h" /* Object IDs */
#include "H5Pprivate.h" /* Property Lists */
#include "H5Spkg.h"
@@ -562,7 +563,9 @@ H5S_mpio_spaces_xfer(H5F_t *f, const H5O_layout_t *layout,
MPI_Datatype mpi_buf_type, mpi_file_type;
hbool_t mbt_is_derived=0,
mft_is_derived=0;
+#if 0
H5P_genplist_t *plist; /* Property list pointer */
+#endif /* 0 */
FUNC_ENTER_NOINIT(H5S_mpio_spaces_xfer);