summaryrefslogtreecommitdiffstats
path: root/src/H5A.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2018-03-27 04:19:08 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2018-03-27 04:19:08 (GMT)
commiteecf997bf579d9e9591b1ee3797f499319bbdfe5 (patch)
tree703ec20c5b8bbd605d9bb2a7d4e33e74c3da4562 /src/H5A.c
parentfb20d376addcb646d130181e003f237b8437d399 (diff)
downloadhdf5-eecf997bf579d9e9591b1ee3797f499319bbdfe5.zip
hdf5-eecf997bf579d9e9591b1ee3797f499319bbdfe5.tar.gz
hdf5-eecf997bf579d9e9591b1ee3797f499319bbdfe5.tar.bz2
Remove redundant 'is_collective' parameter from H5CX_set_loc.
Diffstat (limited to 'src/H5A.c')
-rw-r--r--src/H5A.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5A.c b/src/H5A.c
index 513d4fe..a8eeabf 100644
--- a/src/H5A.c
+++ b/src/H5A.c
@@ -619,7 +619,7 @@ H5Awrite(hid_t attr_id, hid_t dtype_id, const void *buf)
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "null attribute buffer")
/* Set up collective metadata if appropriate */
- if(H5CX_set_loc(attr_id, TRUE) < 0)
+ if(H5CX_set_loc(attr_id) < 0)
HGOTO_ERROR(H5E_ATTR, H5E_CANTSET, FAIL, "can't set collective metadata read")
/* Go write the actual data to the attribute */
@@ -1129,7 +1129,7 @@ H5Arename(hid_t loc_id, const char *old_name, const char *new_name)
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a location")
/* Set up collective metadata if appropriate */
- if(H5CX_set_loc(loc_id, TRUE) < 0)
+ if(H5CX_set_loc(loc_id) < 0)
HGOTO_ERROR(H5E_ATTR, H5E_CANTSET, FAIL, "can't set collective metadata read")
/* Call private attribute rename routine */
@@ -1375,7 +1375,7 @@ H5Adelete(hid_t loc_id, const char *name)
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "no name")
/* Set up collective metadata if appropriate */
- if(H5CX_set_loc(loc_id, TRUE) < 0)
+ if(H5CX_set_loc(loc_id) < 0)
HGOTO_ERROR(H5E_ATTR, H5E_CANTSET, FAIL, "can't set collective metadata read")
/* Delete the attribute from the location */