From 7b9e8a5894ae8abff69f1ccf193a9c2cb589dc8a Mon Sep 17 00:00:00 2001 From: Tobias Hammer Date: Thu, 23 Jan 2020 09:27:12 +0100 Subject: [PATCH] Suppress unused parameter warning on android --- include/ghc/filesystem.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ghc/filesystem.hpp b/include/ghc/filesystem.hpp index d1e8b54..899eefd 100644 --- a/include/ghc/filesystem.hpp +++ b/include/ghc/filesystem.hpp @@ -4266,6 +4266,7 @@ GHC_INLINE space_info space(const path& p, std::error_code& ec) noexcept } return {static_cast(sfs.f_blocks * sfs.f_frsize), static_cast(sfs.f_bfree * sfs.f_frsize), static_cast(sfs.f_bavail * sfs.f_frsize)}; #else + (void)p; ec = detail::make_error_code(detail::portable_error::not_supported); return {static_cast(-1), static_cast(-1), static_cast(-1)}; #endif