h5test.h testing macros get enclosed in do..while loops (#1721)
* h5test.h testing macros get enclosed in do..while loops * Adds missed macro in hl C++ code * Fixes macro in Windows code
This commit is contained in:
@@ -305,7 +305,7 @@ TestCompress()
|
||||
char filter_name[8];
|
||||
dcpl.getFilterById(H5Z_FILTER_DEFLATE, flags, cd_nelemts, NULL, 8, filter_name, config);
|
||||
if (HDstrncmp(filter_name, "deflate", 7) != 0)
|
||||
H5_FAILED()
|
||||
H5_FAILED();
|
||||
}
|
||||
catch (Exception const &) {
|
||||
H5_FAILED();
|
||||
|
||||
Reference in New Issue
Block a user