summaryrefslogtreecommitdiffstats
path: root/perform/pio_engine.c
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-12-10 18:05:39 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-12-10 18:05:39 (GMT)
commit692896a9e73ecff9e77ab5487335d879c7551a91 (patch)
treedf341922e2e8a3d14138a9a5126d39f1ccf152eb /perform/pio_engine.c
parent216b84a9ab8d51485faf33b0d3de635b6242113a (diff)
downloadhdf5-692896a9e73ecff9e77ab5487335d879c7551a91.zip
hdf5-692896a9e73ecff9e77ab5487335d879c7551a91.tar.gz
hdf5-692896a9e73ecff9e77ab5487335d879c7551a91.tar.bz2
[svn-r4687]
Purpose: Small warning removals Description: Just removed a few more warnings to make the compile go a bit smoother... Platforms tested: Linux
Diffstat (limited to 'perform/pio_engine.c')
-rw-r--r--perform/pio_engine.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/perform/pio_engine.c b/perform/pio_engine.c
index 22a8da6..7778477 100644
--- a/perform/pio_engine.c
+++ b/perform/pio_engine.c
@@ -123,7 +123,7 @@ static char *pio_create_filename(iotype iot, const char *base_name,
static herr_t do_write(file_descr fd, iotype iot, long ndsets,
long nelmts, hid_t h5dset_space_id, char *buffer);
static herr_t do_fopen(iotype iot, char *fname, file_descr fd /*out*/,
- int flags, MPI_Comm comm);
+ int flags, MPI_Comm comm);
static herr_t do_fclose(iotype iot, file_descr fd);
herr_t
@@ -138,20 +138,15 @@ do_pio(parameters param)
iotype iot;
char fname[FILENAME_MAX];
- int maxprocs, nfiles, nf;
- long ndsets;
- long nelmts;
- int niters;
- long nelmts_toread, nelmts_read;
- off_t next_offset; /*offset of next I/O */
+ int maxprocs, nfiles, nf;
+ long ndsets, nelmts;
+ int niters;
int color; /*for communicator creation */
char *buffer = NULL; /*data buffer pointer */
/* HDF5 variables */
herr_t hrc; /*HDF5 return code */
hsize_t h5dims[1]; /*dataset dim sizes */
- hsize_t h5block[1], h5stride[1], h5count[1];
- hssize_t h5start[1];
hid_t h5dset_space_id = -1; /*dataset space ID */
hid_t h5mem_space_id = -1; /*memory dataspace ID */
@@ -505,7 +500,7 @@ do_write(file_descr fd, iotype iot, long ndsets,
while (nelmts_written < nelmts){
nelmts_towrite = nelmts - nelmts_written;
- if (nelmts - nelmts_written >= NELMTS_IN_BUFFER) {
+ if (nelmts - nelmts_written >= (int)NELMTS_IN_BUFFER) {
nelmts_towrite = NELMTS_IN_BUFFER;
} else {
/* last write of a partial buffer */