diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2004-04-09 19:42:05 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2004-04-09 19:42:05 (GMT) |
commit | 48d84a1bbc72fc52241a7b0cbdd8ac1fb7544d9b (patch) | |
tree | 89525418dce73b9f715bea6bdfa80865a212c445 /test/th5s.c | |
parent | 00235dba7e54a387783b2a2abb680ac32d7d8985 (diff) | |
download | hdf5-48d84a1bbc72fc52241a7b0cbdd8ac1fb7544d9b.zip hdf5-48d84a1bbc72fc52241a7b0cbdd8ac1fb7544d9b.tar.gz hdf5-48d84a1bbc72fc52241a7b0cbdd8ac1fb7544d9b.tar.bz2 |
[svn-r8334] Purpose: Bug fix
Description: Variable name "class" conflicts with C++ key word.
Solution: changed it to "type"
Platforms tested: RH 8
Diffstat (limited to 'test/th5s.c')
-rw-r--r-- | test/th5s.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/th5s.c b/test/th5s.c index 2cdab33..b5038fa 100644 --- a/test/th5s.c +++ b/test/th5s.c @@ -209,7 +209,7 @@ test_h5s_null(void) hid_t attr_sid; /* Dataspace IDs */ hid_t did; /* Dataset ID */ hid_t attr; /*Attribute ID */ - H5S_class_t class; /* dataspace type */ + H5S_class_t stype; /* dataspace type */ herr_t ret; /* Generic return value */ /* Output message about test being performed */ @@ -266,8 +266,8 @@ test_h5s_null(void) CHECK(dset_sid2, FAIL, "H5Scopy"); /* Verify the class type of dataspace */ - class = H5Sget_simple_extent_type(dset_sid2); - VERIFY(class, H5S_NULL, "H5Sget_simple_extent_type"); + stype = H5Sget_simple_extent_type(dset_sid2); + VERIFY(stype, H5S_NULL, "H5Sget_simple_extent_type"); /* Verify there is zero element in the dataspace */ ret = H5Sget_simple_extent_npoints(dset_sid2); @@ -289,8 +289,8 @@ test_h5s_null(void) CHECK(attr_sid, FAIL, "H5Aget_space"); /* Verify the class type of dataspace */ - class = H5Sget_simple_extent_type(attr_sid); - VERIFY(class, H5S_NULL, "H5Sget_simple_extent_type"); + stype = H5Sget_simple_extent_type(attr_sid); + VERIFY(stype, H5S_NULL, "H5Sget_simple_extent_type"); /* Verify there is zero element in the dataspace */ ret = H5Sget_simple_extent_npoints(attr_sid); |