diff options
-rw-r--r-- | java/test/TestH5Pfapl.java | 1 | ||||
-rw-r--r-- | src/H5FDtest.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/java/test/TestH5Pfapl.java b/java/test/TestH5Pfapl.java index 8f15648..e888e20 100644 --- a/java/test/TestH5Pfapl.java +++ b/java/test/TestH5Pfapl.java @@ -16,6 +16,7 @@ package test; import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; diff --git a/src/H5FDtest.c b/src/H5FDtest.c index 9d2f2e9..fc9188b 100644 --- a/src/H5FDtest.c +++ b/src/H5FDtest.c @@ -109,8 +109,7 @@ H5FD_supports_swmr_test(const char *vfd_name) if(!vfd_name || !HDstrcmp(vfd_name, "")) ret_value = TRUE; else - ret_value = !HDstrcmp(vfd_name, "direct") - || !HDstrcmp(vfd_name, "log") + ret_value = !HDstrcmp(vfd_name, "log") || !HDstrcmp(vfd_name, "sec2"); FUNC_LEAVE_NOAPI(ret_value) |