summaryrefslogtreecommitdiffstats
path: root/testpar/t_mdset.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-06-19 12:54:53 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-06-19 12:54:53 (GMT)
commitaefc39ac325f25d1978ad07785ee0b57617d17a5 (patch)
treefca00816adc4c767109b92e4892f77abc40be3b9 /testpar/t_mdset.c
parent64b7be4a52b14dfefc7729aaf8be6649fb668cc4 (diff)
downloadhdf5-aefc39ac325f25d1978ad07785ee0b57617d17a5.zip
hdf5-aefc39ac325f25d1978ad07785ee0b57617d17a5.tar.gz
hdf5-aefc39ac325f25d1978ad07785ee0b57617d17a5.tar.bz2
[svn-r5667] Purpose:
Code cleanup Description: Turn on more warnings in the IRIX builds and clean them up. Platforms tested: IRIX64 6.5 (modi4) w/parallel
Diffstat (limited to 'testpar/t_mdset.c')
-rw-r--r--testpar/t_mdset.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/testpar/t_mdset.c b/testpar/t_mdset.c
index 271aed0..bd06cc9 100644
--- a/testpar/t_mdset.c
+++ b/testpar/t_mdset.c
@@ -109,7 +109,7 @@ void multiple_dset_write(char *filename, int ndatasets)
void multiple_group_write(char *filename, int ngroups)
{
int mpi_rank, mpi_size;
- int i, j, l, m;
+ int m;
char gname[64];
hid_t fid, gid, plist, memspace, filespace;
hssize_t chunk_origin[DIM];
@@ -248,7 +248,7 @@ void create_group_recursive(hid_t memspace, hid_t filespace, hid_t gid,
void multiple_group_read(char *filename, int ngroups)
{
int mpi_rank, mpi_size, error_num;
- int l, m;
+ int m;
char gname[64];
hid_t plist, fid, gid, memspace, filespace;
hssize_t chunk_origin[DIM];
@@ -316,7 +316,6 @@ int read_dataset(hid_t memspace, hid_t filespace, hid_t gid)
char dname[32];
DATATYPE *outdata, *indata;
hid_t did;
- hsize_t block[DIM]={SIZE,SIZE};
MPI_Comm_rank(MPI_COMM_WORLD, &mpi_rank);
MPI_Comm_size(MPI_COMM_WORLD, &mpi_size);
@@ -350,6 +349,9 @@ int read_dataset(hid_t memspace, hid_t filespace, hid_t gid)
H5Dclose(did);
}
+ free(indata);
+ free(outdata);
+
return vrfy_errors;
}