summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-04-22 20:45:29 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-04-22 20:45:29 (GMT)
commit75574e92e1a9f5dc2550235b846428d3db70476e (patch)
tree4164048cab54a4bc18f4b7cf186d735b20ff8d71
parent7a52d6ce9b3e61cfdd3ded845b23daae440a7cfb (diff)
downloadhdf5-75574e92e1a9f5dc2550235b846428d3db70476e.zip
hdf5-75574e92e1a9f5dc2550235b846428d3db70476e.tar.gz
hdf5-75574e92e1a9f5dc2550235b846428d3db70476e.tar.bz2
[svn-r2189] Fixed some compiler warnings
-rw-r--r--tools/h5dumptst.c12
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.