summaryrefslogtreecommitdiffstats
path: root/src/H5Tconv.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-01-03 18:57:44 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-01-03 18:57:44 (GMT)
commit0926974a6362bf85e5f8bb30132a0fd964ff7ea7 (patch)
tree4f56fdf19c61ebeced1b29eea2a4a8430fcbdd58 /src/H5Tconv.c
parentb935acd43fed3624e51ebc8911a7332d4f6af53b (diff)
downloadhdf5-0926974a6362bf85e5f8bb30132a0fd964ff7ea7.zip
hdf5-0926974a6362bf85e5f8bb30132a0fd964ff7ea7.tar.gz
hdf5-0926974a6362bf85e5f8bb30132a0fd964ff7ea7.tar.bz2
[svn-r4769] Purpose:
Bug Fix/Code Cleanup Description: Duplicated call to H5T_path_find was being made. Solution: Removed one... :-) Platforms tested: FreeBSD 4.5 (sleipnir)
Diffstat (limited to 'src/H5Tconv.c')
-rw-r--r--src/H5Tconv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c
index 014f55f..29c0d2d 100644
--- a/src/H5Tconv.c
+++ b/src/H5Tconv.c
@@ -2459,7 +2459,6 @@ H5T_conv_vlen(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, hsize_t nelmts,
"memory allocation failed for type conversion");
/* Set up conversion path for base elements */
- tpath = H5T_path_find(src->parent, dst->parent, NULL, NULL);
if (NULL==(tpath=H5T_path_find(src->parent, dst->parent, NULL, NULL))) {
HRETURN_ERROR(H5E_DATATYPE, H5E_UNSUPPORTED, FAIL,
"unable to convert between src and dest datatypes");
@@ -2650,7 +2649,6 @@ H5T_conv_array(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, hsize_t nelmts,
dst_delta = direction * (buf_stride ? buf_stride : dst->size);
/* Set up conversion path for base elements */
- tpath = H5T_path_find(src->parent, dst->parent, NULL, NULL);
if (NULL==(tpath=H5T_path_find(src->parent, dst->parent,
NULL, NULL))) {
HRETURN_ERROR(H5E_DATATYPE, H5E_UNSUPPORTED, FAIL,