[svn-r17180] In my last round of checkin (r17176), I forgot to clean up some code. I'm checking in

the fix now.

Tested on jam - simple change.
This commit is contained in:
Raymond Lu
2009-07-14 10:54:25 -05:00
parent 71d75b40ee
commit 8f25819df5

View File

@@ -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 */