Skip to content

Commit

Permalink
Merge pull request #46 from tohammer/fix-unused-parameter-android
Browse files Browse the repository at this point in the history
Suppress unused parameter warning on android
  • Loading branch information
gulrak authored Jan 25, 2020
2 parents 10937ca + 7b9e8a5 commit 8157b4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/ghc/filesystem.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4266,6 +4266,7 @@ GHC_INLINE space_info space(const path& p, std::error_code& ec) noexcept
}
return {static_cast<uintmax_t>(sfs.f_blocks * sfs.f_frsize), static_cast<uintmax_t>(sfs.f_bfree * sfs.f_frsize), static_cast<uintmax_t>(sfs.f_bavail * sfs.f_frsize)};
#else
(void)p;
ec = detail::make_error_code(detail::portable_error::not_supported);
return {static_cast<uintmax_t>(-1), static_cast<uintmax_t>(-1), static_cast<uintmax_t>(-1)};
#endif
Expand Down

0 comments on commit 8157b4e

Please sign in to comment.