diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-02-04 15:55:50 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-02-04 15:55:50 (GMT) |
commit | 8f4dc91bf6a64e4eed3654c88b77c9c5433bda8b (patch) | |
tree | 7422e9874c1879f534acd1f15dee45f20f84d6bf /hl | |
parent | 48b50b30c2158cd474d7e9f126068300b75ca943 (diff) | |
download | hdf5-8f4dc91bf6a64e4eed3654c88b77c9c5433bda8b.zip hdf5-8f4dc91bf6a64e4eed3654c88b77c9c5433bda8b.tar.gz hdf5-8f4dc91bf6a64e4eed3654c88b77c9c5433bda8b.tar.bz2 |
[svn-r14487] remove #ifdefs relative to uncommeting H5Dset_extent
this function was done in 2002 but was at a time (2003-2006) previewed not to be used
it is now being used again
tested: windows, linux
Diffstat (limited to 'hl')
-rw-r--r-- | hl/src/H5TA.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/hl/src/H5TA.c b/hl/src/H5TA.c index f1d511d..065303d 100644 --- a/hl/src/H5TA.c +++ b/hl/src/H5TA.c @@ -17,10 +17,6 @@ #include <stdlib.h> #include <string.h> -#if 0 -#define SHRINK -#endif - /*------------------------------------------------------------------------- * @@ -1400,9 +1396,7 @@ herr_t H5TBdelete_record( hid_t loc_id, size_t *src_offset; size_t *src_sizes; hsize_t nrows; -#if defined (SHRINK) hsize_t dims[1]; -#endif /*------------------------------------------------------------------------- @@ -1490,11 +1484,9 @@ herr_t H5TBdelete_record( hid_t loc_id, * Change the table dimension *------------------------------------------------------------------------- */ -#if defined (SHRINK) dims[0] = ntotal_records - nrecords; if ( H5Dset_extent( did, dims ) < 0 ) goto out; -#endif /* End access to the dataset */ if ( H5Dclose( did ) < 0 ) |