diff options
author | Peter Cao <xcao@hdfgroup.org> | 2011-01-27 13:50:04 (GMT) |
---|---|---|
committer | Peter Cao <xcao@hdfgroup.org> | 2011-01-27 13:50:04 (GMT) |
commit | 72938585be6da38a2c11e9fa5b5498dc27eac3f8 (patch) | |
tree | 4019ff6005c52069c4b6f97acbb33da47d57e1a1 | |
parent | 2528e7021fcd3ceceaf8bcee4cb477e741d0fac1 (diff) | |
download | hdf5-72938585be6da38a2c11e9fa5b5498dc27eac3f8.zip hdf5-72938585be6da38a2c11e9fa5b5498dc27eac3f8.tar.gz hdf5-72938585be6da38a2c11e9fa5b5498dc27eac3f8.tar.bz2 |
[svn-r20011] make sure that travt is nor null
-rw-r--r-- | tools/h5repack/h5repack.c | 2 |
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; |