summaryrefslogtreecommitdiffstats
path: root/test/dsets.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-12-09 18:20:37 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-12-09 18:20:37 (GMT)
commit892050a830bd87e32b9a64e388654bc1a9af4cf1 (patch)
tree2c37bd58bd7b9b5660777809a860c1c4783cbeba /test/dsets.c
parent7d8ceade335c6528ba4cdbb386c36e918e02ee44 (diff)
downloadhdf5-892050a830bd87e32b9a64e388654bc1a9af4cf1.zip
hdf5-892050a830bd87e32b9a64e388654bc1a9af4cf1.tar.gz
hdf5-892050a830bd87e32b9a64e388654bc1a9af4cf1.tar.bz2
[svn-r17979] Description:
Bring r17978 from trunk to 1.8 branch: Simplify checking for detecting variable-length strings. Tested on: Mac OS X/32 10.6.2 (amazon) debug & production Too minor to require h5committest
Diffstat (limited to 'test/dsets.c')
-rw-r--r--test/dsets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dsets.c b/test/dsets.c
index 9f4b06d..d545c72 100644
--- a/test/dsets.c
+++ b/test/dsets.c
@@ -7289,8 +7289,8 @@ error:
static herr_t
test_idx_compatible(void)
{
- hid_t fid; /* File id */
- hid_t did; /* Dataset id */
+ hid_t fid = -1; /* File id */
+ hid_t did = -1; /* Dataset id */
char *srcdir = HDgetenv("srcdir"); /* where the src code is located */
char filename[FILENAME_BUF_SIZE] = ""; /* old test file name */