diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2004-06-14 16:21:38 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2004-06-14 16:21:38 (GMT) |
commit | f5a192ff0d3d8f4279b356ff54b1a2e78e22c8ec (patch) | |
tree | c26097118a6dcced8b8bc4c679806f471a14e6d0 | |
parent | c373a3dc7c8cb1848ba6f59423352d83f15383b5 (diff) | |
download | hdf5-f5a192ff0d3d8f4279b356ff54b1a2e78e22c8ec.zip hdf5-f5a192ff0d3d8f4279b356ff54b1a2e78e22c8ec.tar.gz hdf5-f5a192ff0d3d8f4279b356ff54b1a2e78e22c8ec.tar.bz2 |
[svn-r8681] Purpose: Take out an unnecessary step
Description: I put H5T_lock in H5T_open in last checkin but found it's
unnacessary.
Solution: Took it out.
Platforms tested: RH 8(fuss). Simple change.
-rw-r--r-- | src/H5T.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -2732,10 +2732,6 @@ H5T_open (H5G_entry_t *loc, const char *name, hid_t dxpl_id) if (H5T_set_loc(dt, NULL, H5T_LOC_MEMORY)<0) HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, NULL, "invalid datatype location") - /* Unlock data type */ - if (H5T_lock (dt, FALSE)<0) - HGOTO_ERROR (H5E_DATATYPE, H5E_CANTINIT, NULL, "unable to lock transient data type") - /* Set return value */ ret_value=dt; |