summaryrefslogtreecommitdiffstats
path: root/src/H5Odtype.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2009-07-14 17:04:04 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2009-07-14 17:04:04 (GMT)
commita739b62eccb9748d7089d6db527fed7159ebe3b1 (patch)
treeb8e16ca41ce3ce26f43e47910462b3a2165f259d /src/H5Odtype.c
parent2228b81fa28f583b2358a479242329e1ba969eda (diff)
downloadhdf5-a739b62eccb9748d7089d6db527fed7159ebe3b1.zip
hdf5-a739b62eccb9748d7089d6db527fed7159ebe3b1.tar.gz
hdf5-a739b62eccb9748d7089d6db527fed7159ebe3b1.tar.bz2
[svn-r17182] In my last round of checkin (r17177), I forgot to clean up some code. I'm checking in
the fix now. Another minor fix - The way that H5Tset_size checks whether the datatype is a string wasn't correct. I changed it to use the macro H5T_IS_STRING. Tested on jam, smirom, and linew.
Diffstat (limited to 'src/H5Odtype.c')
-rw-r--r--src/H5Odtype.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/H5Odtype.c b/src/H5Odtype.c
index 47fdd7e..63b2aaf 100644
--- a/src/H5Odtype.c
+++ b/src/H5Odtype.c
@@ -520,15 +520,10 @@ H5O_dtype_decode_helper(H5F_t *f, unsigned *ioflags/*in,out*/, const uint8_t **p
dt->shared->force_conv=TRUE;
-#ifdef TMP
/* Mark location this type as undefined for now. The caller function should
* decide the location. */
if(H5T_set_loc(dt, f, H5T_LOC_BADLOC) < 0)
HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "invalid datatype location")
-else
- if(H5T_set_loc(dt, NULL, H5T_LOC_MEMORY) < 0)
- HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "invalid datatype location")
-#endif
break;
case H5T_ARRAY: /* Array datatypes */