diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-04-14 15:47:24 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-04-14 15:47:24 (GMT) |
commit | 0dba296cec0d3e9391e1cbb0f6daa0df9f0a750a (patch) | |
tree | 3bdda7d32b585fa13c77588bea004187507247a8 /c++/test | |
parent | 42237dc633f75bec0c889e9e9748cd5cd1392028 (diff) | |
download | hdf5-0dba296cec0d3e9391e1cbb0f6daa0df9f0a750a.zip hdf5-0dba296cec0d3e9391e1cbb0f6daa0df9f0a750a.tar.gz hdf5-0dba296cec0d3e9391e1cbb0f6daa0df9f0a750a.tar.bz2 |
Fix shadow variable
Diffstat (limited to 'c++/test')
-rw-r--r-- | c++/test/tobject.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c++/test/tobject.cpp b/c++/test/tobject.cpp index b5e9ff0..095fe6a 100644 --- a/c++/test/tobject.cpp +++ b/c++/test/tobject.cpp @@ -76,7 +76,7 @@ static void test_get_objname() // Attempted to create a same group to generate a failure, which should // be caught with sub-class exception clause, if available. try { - Group grp1_2 = grp1.createGroup(GROUP1_2, 0); + grp1_2 = grp1.createGroup(GROUP1_2, 0); } catch (GroupIException& E) {} // do nothing, exception expected @@ -301,7 +301,7 @@ static void test_get_objtype() issue_fail_msg("test_get_objtype", __LINE__, __FILE__); } } // test_get_objtype - + /*------------------------------------------------------------------------- * Function: test_open_object_header * @@ -435,7 +435,7 @@ static void test_open_object_header() issue_fail_msg("test_file_name()", __LINE__, __FILE__, E.getCDetailMsg()); } } /* test_open_object_header() */ - + /*------------------------------------------------------------------------- * Function: test_is_valid * |