summaryrefslogtreecommitdiffstats
path: root/tools/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-02-25 20:57:02 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-02-25 20:57:14 (GMT)
commit4906d3d6a82e1dcc10bae150a1e0dc9bbc890259 (patch)
tree1cfda2e034e904c6f274cd7eb3bdecd18feff0cc /tools/src
parentddb95a6dc51b38c82f6604facf464672882ef4d8 (diff)
downloadhdf5-4906d3d6a82e1dcc10bae150a1e0dc9bbc890259.zip
hdf5-4906d3d6a82e1dcc10bae150a1e0dc9bbc890259.tar.gz
hdf5-4906d3d6a82e1dcc10bae150a1e0dc9bbc890259.tar.bz2
Fix standalone link
Diffstat (limited to 'tools/src')
-rw-r--r--tools/src/h5repack/h5repack_refs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/src/h5repack/h5repack_refs.c b/tools/src/h5repack/h5repack_refs.c
index 54fe1f2..2685823 100644
--- a/tools/src/h5repack/h5repack_refs.c
+++ b/tools/src/h5repack/h5repack_refs.c
@@ -530,14 +530,14 @@ static int copy_refs_attr(hid_t loc_in,
ref_comp_size = NULL;
}
}
- /* This line below needs to be moved in this loop instead of inserting outside. Otherwise,
- ref_comp_field_n may be >0 for the next attribute, which may not be
+ /* This line below needs to be moved in this loop instead of inserting outside. Otherwise,
+ ref_comp_field_n may be >0 for the next attribute, which may not be
the reference type and will be accidently treated as the reference type.
It will then cause the H5Acreate2 failed since that attribute is already created.
KY 2020-02-07
*/
is_ref_comp = (ref_comp_field_n > 0);
-
+
}