diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-04-23 19:32:29 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-04-23 19:32:29 (GMT) |
commit | f9a3ae50812a527c7b88a39d7d5b6629aa234a2d (patch) | |
tree | 0f8086db007f84788c5e0ae717c7ef550891e205 /c++/test/ttypes.cpp | |
parent | 5ea58acf8a2bdf8ca19d4c86d9ef94fbc4ac449f (diff) | |
download | hdf5-f9a3ae50812a527c7b88a39d7d5b6629aa234a2d.zip hdf5-f9a3ae50812a527c7b88a39d7d5b6629aa234a2d.tar.gz hdf5-f9a3ae50812a527c7b88a39d7d5b6629aa234a2d.tar.bz2 |
TRILAB-244 separate CXX warnings and errors from C
Diffstat (limited to 'c++/test/ttypes.cpp')
-rw-r--r-- | c++/test/ttypes.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c++/test/ttypes.cpp b/c++/test/ttypes.cpp index ae79653..b8846f4 100644 --- a/c++/test/ttypes.cpp +++ b/c++/test/ttypes.cpp @@ -403,7 +403,7 @@ static void test_vltype() // Verify that the copied type has a valid id bool is_valid = IdComponent::isValid(vltype2.getId()); - verify_val(in_class, true, "isValid on vltype2", __LINE__, __FILE__); + verify_val(is_valid, true, "isValid on vltype2", __LINE__, __FILE__); in_class = vltype2.detectClass(H5T_VLEN); verify_val(in_class, true, "VarLenType::detectClass() with H5T_VLEN for vltype2", __LINE__, __FILE__); @@ -1010,8 +1010,8 @@ static void test_encode_decode() FloatType decoded_flttyp(decoded_flt_ptr->getId()); verify_val(flttyp == decoded_flttyp, true, "DataType::decode", __LINE__, __FILE__); - H5std_string norm_string; - H5T_norm_t mant_norm = decoded_flttyp.getNorm(norm_string); + //H5std_string norm_string; + //H5T_norm_t mant_norm = decoded_flttyp.getNorm(norm_string); //verify_val(decoded_flttyp.isVariableStr(), true, "DataType::decode", __LINE__, __FILE__); delete decoded_flt_ptr; |