From c97fae2f00b2da230437f5848b8537a0e991ec08 Mon Sep 17 00:00:00 2001 From: Peter Cao Date: Wed, 17 Jan 2007 12:01:52 -0500 Subject: [PATCH] [svn-r13145] Fixing warning message. --- test/objcopy.c | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/test/objcopy.c b/test/objcopy.c index 8778ad4b01..0de4c9775b 100755 --- a/test/objcopy.c +++ b/test/objcopy.c @@ -4573,7 +4573,7 @@ test_copy_group_loop(hid_t fcpl_src, hid_t fcpl_dst, hid_t fapl) { hid_t fid_src = -1, fid_dst = -1; /* File IDs */ hid_t gid = -1, gid2 = -1; /* Group IDs */ - hid_t gid_sub = -1, gid_sub2; /* Sub-group IDs */ + hid_t gid_sub = -1, gid_sub2=-1; /* Sub-group IDs */ char src_filename[NAME_BUF_SIZE]; char dst_filename[NAME_BUF_SIZE]; @@ -4688,7 +4688,7 @@ test_copy_group_wide_loop(hid_t fcpl_src, hid_t fcpl_dst, hid_t fapl) { hid_t fid_src = -1, fid_dst = -1; /* File IDs */ hid_t gid = -1, gid2 = -1; /* Group IDs */ - hid_t gid_sub = -1, gid_sub2; /* Sub-group IDs */ + hid_t gid_sub = -1, gid_sub2=-1; /* Sub-group IDs */ unsigned u, v; /* Local index variables */ char objname[NAME_BUF_SIZE]; /* Object name buffer */ char src_filename[NAME_BUF_SIZE]; @@ -5590,30 +5590,6 @@ error: return 1; } /* end test_copy_old_layout */ - -/*------------------------------------------------------------------------- - * Function: test_copy_mount - * - * Purpose: Test copying objects between mounted files - * - * Return: Success: 0 - * Failure: number of errors - * - * Programmer: Quincey Koziol - * Saturday, November 5, 2005 - * - *------------------------------------------------------------------------- - */ -static int -test_copy_mount(hid_t UNUSED fapl) -{ - TESTING("H5Ocopy(): objects between mounted files"); - - SKIPPED(); - puts(" Not tested yet!!"); - return 0; -} /* end test_copy_mount */ - /*------------------------------------------------------------------------- * Function: test_copy_dataset_compact_named_vl