diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2010-03-23 19:24:21 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2010-03-23 19:24:21 (GMT) |
commit | a844f8b21a92352a69afd12241826f918544e7f0 (patch) | |
tree | 06e7d9f8692741ff6841c1c16e33d25ef2e44ac2 | |
parent | 5e909dbaaa4c82416d3239f785c3876cd3c9e9f1 (diff) | |
download | hdf5-a844f8b21a92352a69afd12241826f918544e7f0.zip hdf5-a844f8b21a92352a69afd12241826f918544e7f0.tar.gz hdf5-a844f8b21a92352a69afd12241826f918544e7f0.tar.bz2 |
[svn-r18443] Purpose:
Resolve windows build issue from previous checkin r18427
Description:
The previous checkin was for bug1814 - NPOESS: h5repack doesn't handle
references to the groups as an element of a dataset
Tested:
jam
-rw-r--r-- | tools/h5repack/h5repacktst.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/h5repack/h5repacktst.c b/tools/h5repack/h5repacktst.c index b6d0b8b..3198b76 100644 --- a/tools/h5repack/h5repacktst.c +++ b/tools/h5repack/h5repacktst.c @@ -5611,6 +5611,8 @@ static herr_t gen_obj_ref(hid_t loc_id) hsize_t dims1[1]={3}; hsize_t dims2[1]={3}; int data[3] = {10,20,30}; + hobj_ref_t objref_buf[3]; /* write buffer for obj reference */ + int status; herr_t ret = SUCCEED; @@ -5669,7 +5671,6 @@ static herr_t gen_obj_ref(hid_t loc_id) /*--------------------------------------------------------- * create obj references to the previously created objects. * Passing -1 as reference is an object.*/ - hobj_ref_t objref_buf[3]; /* write buffer for */ /* obj ref to dataset */ status = H5Rcreate (&objref_buf[0], loc_id, NAME_OBJ_DS, H5R_OBJECT, -1); |