summaryrefslogtreecommitdiffstats
path: root/src/H5Dint.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-06-29 15:41:45 (GMT)
committerGitHub <noreply@github.com>2022-06-29 15:41:45 (GMT)
commit9e000893077bb3a897097cb05d6bcfde5227f70f (patch)
tree365b4f802e16dd0009ff330e8ce2807dd16dc805 /src/H5Dint.c
parent57a850f8971909d178151b60b7e43a5f995b6a57 (diff)
downloadhdf5-9e000893077bb3a897097cb05d6bcfde5227f70f.zip
hdf5-9e000893077bb3a897097cb05d6bcfde5227f70f.tar.gz
hdf5-9e000893077bb3a897097cb05d6bcfde5227f70f.tar.bz2
Quiets const warnings (#1831)
Diffstat (limited to 'src/H5Dint.c')
-rw-r--r--src/H5Dint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Dint.c b/src/H5Dint.c
index 3b6b884..ee49464 100644
--- a/src/H5Dint.c
+++ b/src/H5Dint.c
@@ -1564,7 +1564,7 @@ done:
vds_prefix = (char *)H5MM_xfree(vds_prefix);
if (ret_value == NULL) {
- /* Free the location--casting away const*/
+ /* Free the location */
if (dataset) {
if (shared_fo == NULL && dataset->shared) { /* Need to free shared fo */
dataset->shared->extfile_prefix = (char *)H5MM_xfree(dataset->shared->extfile_prefix);
@@ -3502,7 +3502,7 @@ H5D_flush_all(H5F_t *f)
HDassert(f);
/* Iterate over all the open datasets */
- if (H5I_iterate(H5I_DATASET, H5D__flush_all_cb, f, FALSE) < 0) /* Casting away const OK -QAK */
+ if (H5I_iterate(H5I_DATASET, H5D__flush_all_cb, f, FALSE) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_BADITER, FAIL, "unable to flush cached dataset info")
done: