diff options
Diffstat (limited to 'test/tattr.c')
-rw-r--r-- | test/tattr.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/tattr.c b/test/tattr.c index 4bada59..4567ef8 100644 --- a/test/tattr.c +++ b/test/tattr.c @@ -270,12 +270,6 @@ test_attr_basic_write(hid_t fapl) ret=H5Aclose(attr2); CHECK(ret, FAIL, "H5Aclose"); -#ifndef OLD_WAY - /* change first attribute back to the original name */ - ret=H5Arename(dataset, ATTR_TMP_NAME, ATTR1_NAME); - CHECK(ret, FAIL, "H5Arename"); -#endif /* OLD_WAY */ - ret = H5Sclose(sid1); CHECK(ret, FAIL, "H5Sclose"); ret = H5Sclose(sid2); @@ -363,11 +357,7 @@ test_attr_basic_read(hid_t fapl) VERIFY(ret, 2, "H5Aget_num_attrs"); /* Open first attribute for the dataset */ -#ifndef OLD_WAY - attr=H5Aopen_name(dataset, ATTR1_NAME); -#else /* OLD_WAY */ attr=H5Aopen_name(dataset, ATTR_TMP_NAME); -#endif /* OLD_WAY */ CHECK(attr, FAIL, "H5Aopen_name"); /* Read attribute information */ |