From 72938585be6da38a2c11e9fa5b5498dc27eac3f8 Mon Sep 17 00:00:00 2001 From: Peter Cao Date: Thu, 27 Jan 2011 08:50:04 -0500 Subject: [svn-r20011] make sure that travt is nor null --- tools/h5repack/h5repack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12