summaryrefslogtreecommitdiffstats
path: root/test/links.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-08-08 17:52:17 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-08-08 17:52:17 (GMT)
commit6680e94aebf3f7b2929c740c7951b4bcf3f9b555 (patch)
tree6f0d4a47c1ad88413ab94574cd2e8eac75253214 /test/links.c
parentd8397a6f426227d09d20e647ce8b12b8c6295b2d (diff)
downloadhdf5-6680e94aebf3f7b2929c740c7951b4bcf3f9b555.zip
hdf5-6680e94aebf3f7b2929c740c7951b4bcf3f9b555.tar.gz
hdf5-6680e94aebf3f7b2929c740c7951b4bcf3f9b555.tar.bz2
[svn-r5843] Purpose:
Code cleanup Description: Clean up a few warnings which were showing up with --enable-production turned on. Platforms tested: FreeBSD 4.6 (sleipnir) serial & parallel
Diffstat (limited to 'test/links.c')
-rw-r--r--test/links.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/links.c b/test/links.c
index 53ba3fc..ea44764 100644
--- a/test/links.c
+++ b/test/links.c
@@ -105,10 +105,10 @@ mklinks(hid_t fapl)
static int
new_links(hid_t fapl)
{
- hid_t file_a, file_b;
- hid_t grp1_a, grp1_b, grp2_a, grp2_b;
- hid_t scalar;
- hid_t dset1, dset2;
+ hid_t file_a, file_b=(-1);
+ hid_t grp1_a=(-1), grp1_b=(-1), grp2_a=(-1), grp2_b=(-1);
+ hid_t scalar=(-1);
+ hid_t dset1=(-1), dset2=(-1);
char filename[1024];
static hsize_t size[1] = {1};