diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2016-04-22 18:58:08 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2016-04-22 18:58:08 (GMT) |
commit | 58803d08320c0f704bc4cca600e9701572ddc1b4 (patch) | |
tree | 54f45208d66d18442fd5c588e4a676b3a203a072 /c++/test | |
parent | 38687f3498d0878c1c28cb52b8b9e070fcb45da8 (diff) | |
download | hdf5-58803d08320c0f704bc4cca600e9701572ddc1b4.zip hdf5-58803d08320c0f704bc4cca600e9701572ddc1b4.tar.gz hdf5-58803d08320c0f704bc4cca600e9701572ddc1b4.tar.bz2 |
[svn-r29765] Purpose: Code cleanup
Description:
- Removed many warnings:
warning: use of old-style cast
warning: enumeration value ‘H5D_VIRTUAL’ not handled in switch
warning: comparison between signed and unsigned
There are others of the same warnings and they will be taken care of
in the next release.
- Made some code reuse between overloads
Merged from trunk r29340.
Platforms tested:
Linux/32 2.6 (jam)
Linux/64 (platypus)
Darwin (osx1010test)
Diffstat (limited to 'c++/test')
-rw-r--r-- | c++/test/h5cpputil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/test/h5cpputil.cpp b/c++/test/h5cpputil.cpp index 40e81cc..7ad7364 100644 --- a/c++/test/h5cpputil.cpp +++ b/c++/test/h5cpputil.cpp @@ -98,7 +98,7 @@ int test_report( int nerrors, const H5std_string& testname ) void issue_fail_msg(const char* where, int line, const char* file_name, const char* message) { - //if (GetTestVerbosity()>=VERBO_HI) + if (GetTestVerbosity()>=VERBO_HI) { cerr << endl; cerr << ">>> FAILED in " << where << " at line " << line @@ -121,7 +121,7 @@ void issue_fail_msg(const char* where, int line, const char* file_name, void issue_fail_msg(const char* where, int line, const char* file_name, const char* func_name, const char* message) { - //if (GetTestVerbosity()>=VERBO_HI) + if (GetTestVerbosity()>=VERBO_HI) { cerr << endl; cerr << ">>> FAILED in " << where << ": " << func_name << endl << |