diff options
author | Robb Matzke <matzke@llnl.gov> | 1999-02-25 15:40:27 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1999-02-25 15:40:27 (GMT) |
commit | 17535fbc174978ae71d916a02ee4dacee66a9d8c (patch) | |
tree | d3114488ba01370e6b21acca5915c4f771125713 /test/dsets.c | |
parent | d8b07ce1d025e3f4284c5038347097180fc2da11 (diff) | |
download | hdf5-17535fbc174978ae71d916a02ee4dacee66a9d8c.zip hdf5-17535fbc174978ae71d916a02ee4dacee66a9d8c.tar.gz hdf5-17535fbc174978ae71d916a02ee4dacee66a9d8c.tar.bz2 |
[svn-r1101] Changes since 19990219
----------------------
./config/irix64
The old (-32) compiler is now supported by setting envrionment
CC='cc -32'. The -64 compiler is the default or you can set
CC='cc -64'.
./src/H5A.c
./src/H5D.c
./src/H5F.c
./src/H5Fistore.c
./src/H5Flow.c
./src/H5G.c
./src/H5I.c
./src/H5Ocomp.c
./src/H5P.c
./src/H5R.c
./src/H5RA.c
./src/H5T.c
./src/H5Tbit.c
./src/H5Tconv.c
./src/H5Z.c
./src/H5detect.c
./test/big.c
./test/cmpd_dset.c
./test/dsets.c
./test/dtypes.c
./test/enum.c
./test/mtime.c
./test/ohdr.c
./tools/h5ls.c
Fixed lots of warnings on Irix64. Mailed a few remaining
warnings in H5S to Quincey and a few in the dumper to
Ruey-Hsia.
Diffstat (limited to 'test/dsets.c')
-rw-r--r-- | test/dsets.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/test/dsets.c b/test/dsets.c index 49b5f50..4b221b2 100644 --- a/test/dsets.c +++ b/test/dsets.c @@ -159,7 +159,6 @@ static herr_t test_simple_io(hid_t file) { hid_t dataset, space, xfer; - herr_t status; int points[100][200], check[100][200]; int i, j, n; hsize_t dims[2]; @@ -183,7 +182,7 @@ test_simple_io(hid_t file) tconv_buf = malloc (1000); xfer = H5Pcreate (H5P_DATASET_XFER); assert (xfer>=0); - if ((status = H5Pset_buffer (xfer, 1000, tconv_buf, NULL))<0) goto error; + if (H5Pset_buffer (xfer, 1000, tconv_buf, NULL)<0) goto error; /* Create the dataset */ if ((dataset = H5Dcreate(file, DSET_SIMPLE_IO_NAME, H5T_NATIVE_INT, space, @@ -722,16 +721,19 @@ int main(void) { hid_t file, grp, fapl; - int nerrors=0, mdc_nelmts; + int nerrors=0; char filename[1024]; h5_reset(); fapl = h5_fileaccess(); #if 0 - /* Turn off raw data cache */ - if (H5Pget_cache(fapl, &mdc_nelmts, NULL, NULL, NULL)<0) goto error; - if (H5Pset_cache(fapl, mdc_nelmts, 0, 0, 0.0)<0) goto error; + { + /* Turn off raw data cache */ + int mdc_nelmts; + if (H5Pget_cache(fapl, &mdc_nelmts, NULL, NULL, NULL)<0) goto error; + if (H5Pset_cache(fapl, mdc_nelmts, 0, 0, 0.0)<0) goto error; + } #endif h5_fixname(FILENAME[0], fapl, filename, sizeof filename); |