summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2010-03-23 19:12:47 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2010-03-23 19:12:47 (GMT)
commit2ee007117626d307a248b6b02f5ddb71766cb35f (patch)
tree15872a08f4d6317833c17380d4477474c9592b4d
parent24b31a9ce96cb310eec42eb1ea42bb505175ff62 (diff)
downloadhdf5-2ee007117626d307a248b6b02f5ddb71766cb35f.zip
hdf5-2ee007117626d307a248b6b02f5ddb71766cb35f.tar.gz
hdf5-2ee007117626d307a248b6b02f5ddb71766cb35f.tar.bz2
[svn-r18442] Purpose:
Resolve windows build issue from previous checkin r18425 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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/h5repack/h5repacktst.c b/tools/h5repack/h5repacktst.c
index d4cd347..0d6f186 100644
--- a/tools/h5repack/h5repacktst.c
+++ b/tools/h5repack/h5repacktst.c
@@ -5620,6 +5620,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;
@@ -5678,7 +5680,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);