summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPeter Cao <xcao@hdfgroup.org>2007-01-17 17:01:52 (GMT)
committerPeter Cao <xcao@hdfgroup.org>2007-01-17 17:01:52 (GMT)
commitc97fae2f00b2da230437f5848b8537a0e991ec08 (patch)
tree7d9fdb9327aa094804d65b95bfc550edd9b67194 /test
parentb5047cafdcba60d823c5904842d88e33b4d1604e (diff)
downloadhdf5-c97fae2f00b2da230437f5848b8537a0e991ec08.zip
hdf5-c97fae2f00b2da230437f5848b8537a0e991ec08.tar.gz
hdf5-c97fae2f00b2da230437f5848b8537a0e991ec08.tar.bz2
[svn-r13145] Fixing warning message.
Diffstat (limited to 'test')
-rwxr-xr-xtest/objcopy.c28
1 files changed, 2 insertions, 26 deletions
diff --git a/test/objcopy.c b/test/objcopy.c
index 8778ad4..0de4c97 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];
@@ -5592,30 +5592,6 @@ error:
/*-------------------------------------------------------------------------
- * 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
*
* Purpose: Create a dataset that uses a named variable length datatype