diff options
Diffstat (limited to 'libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc')
-rw-r--r-- | libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc index aef6725d776..92772db73ed 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc @@ -30,11 +30,11 @@ test01() { std::error_code ec; auto p = __gnu_test::nonexistent_path(); - canonical( p, ec ); + (void) canonical( p, ec ); VERIFY( ec ); p = fs::current_path(); - canonical( p, ec ); + (void) canonical( p, ec ); VERIFY( !ec ); const auto root = fs::absolute("/"); @@ -67,7 +67,7 @@ test02() fs::path p = "rel", base = __gnu_test::nonexistent_path(); fs::path e1, e2; try { - canonical(p, base); + (void) canonical(p, base); } catch (const fs::filesystem_error& e) { e1 = e.path1(); e2 = e.path2(); |