diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2000-04-22 20:45:29 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2000-04-22 20:45:29 (GMT) |
commit | 75574e92e1a9f5dc2550235b846428d3db70476e (patch) | |
tree | 4164048cab54a4bc18f4b7cf186d735b20ff8d71 /tools/h5dumptst.c | |
parent | 7a52d6ce9b3e61cfdd3ded845b23daae440a7cfb (diff) | |
download | hdf5-75574e92e1a9f5dc2550235b846428d3db70476e.zip hdf5-75574e92e1a9f5dc2550235b846428d3db70476e.tar.gz hdf5-75574e92e1a9f5dc2550235b846428d3db70476e.tar.bz2 |
[svn-r2189] Fixed some compiler warnings
Diffstat (limited to 'tools/h5dumptst.c')
-rw-r--r-- | tools/h5dumptst.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/h5dumptst.c b/tools/h5dumptst.c index 85d7825..d01fc0a 100644 --- a/tools/h5dumptst.c +++ b/tools/h5dumptst.c @@ -1572,10 +1572,10 @@ void test_datareg(void){ free(drbuf); } -void test_nestcomp(){ +void test_nestcomp(void){ hid_t file,space,type,type2,dataset; - int i, maxdim = 5, status; + int i, maxdim = 5; hsize_t dim = 5; int y = 1; @@ -1616,13 +1616,13 @@ void test_nestcomp(){ */ type = H5Tcreate (H5T_COMPOUND, sizeof(complex_t)); - status = H5Tinsert(type, "re", HOFFSET(complex_t, re), H5T_NATIVE_DOUBLE); - status = H5Tinsert(type, "im", HOFFSET(complex_t, im), H5T_NATIVE_DOUBLE); + H5Tinsert(type, "re", HOFFSET(complex_t, re), H5T_NATIVE_DOUBLE); + H5Tinsert(type, "im", HOFFSET(complex_t, im), H5T_NATIVE_DOUBLE); type2 = H5Tcreate (H5T_COMPOUND, sizeof(surf_t)); - status = H5Tinsert(type2, "x", HOFFSET(surf_t, x), type); - status = H5Tinsert(type2, "y", HOFFSET(surf_t, y), type); + H5Tinsert(type2, "x", HOFFSET(surf_t, x), type); + H5Tinsert(type2, "y", HOFFSET(surf_t, y), type); /* * Create the dataset. |