summaryrefslogtreecommitdiffstats
path: root/tools/h5repack
diff options
context:
space:
mode:
authorPeter Cao <xcao@hdfgroup.org>2011-01-27 13:50:04 (GMT)
committerPeter Cao <xcao@hdfgroup.org>2011-01-27 13:50:04 (GMT)
commit72938585be6da38a2c11e9fa5b5498dc27eac3f8 (patch)
tree4019ff6005c52069c4b6f97acbb33da47d57e1a1 /tools/h5repack
parent2528e7021fcd3ceceaf8bcee4cb477e741d0fac1 (diff)
downloadhdf5-72938585be6da38a2c11e9fa5b5498dc27eac3f8.zip
hdf5-72938585be6da38a2c11e9fa5b5498dc27eac3f8.tar.gz
hdf5-72938585be6da38a2c11e9fa5b5498dc27eac3f8.tar.bz2
[svn-r20011] make sure that travt is nor null
Diffstat (limited to 'tools/h5repack')
-rw-r--r--tools/h5repack/h5repack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5repack/h5repack.c b/tools/h5repack/h5repack.c
index da1fbf3..4c279fd 100644
--- a/tools/h5repack/h5repack.c
+++ b/tools/h5repack/h5repack.c
@@ -444,7 +444,7 @@ int copy_attr(hid_t loc_in,
/* Check if the datatype is committed */
if((is_named = H5Tcommitted(ftype_id)) < 0)
goto error;
- if(is_named)
+ if(is_named && travt)
{
hid_t fidout;