Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2021-08-19 15:57:46 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2021-08-19 15:57:46 +0300
commit044418de759c225ec72e43e6fe74ce2a5ab0fdaf (patch)
tree33cb2e7bfc3e86cc6b115399cc8721d2f51cc007 /include/llfio/v2.0/detail/impl/posix/utils.ipp
parent41861766afcbfb412fc6b01a3ac794878dfcb7c5 (diff)
On POSIX stop map_handle::commit() calling madvise() on non-file backed allocations.
Diffstat (limited to 'include/llfio/v2.0/detail/impl/posix/utils.ipp')
-rw-r--r--include/llfio/v2.0/detail/impl/posix/utils.ipp1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/llfio/v2.0/detail/impl/posix/utils.ipp b/include/llfio/v2.0/detail/impl/posix/utils.ipp
index df6440a1..d0b21ba2 100644
--- a/include/llfio/v2.0/detail/impl/posix/utils.ipp
+++ b/include/llfio/v2.0/detail/impl/posix/utils.ipp
@@ -443,7 +443,6 @@ namespace utils
result<process_cpu_usage> current_process_cpu_usage() noexcept
{
process_cpu_usage ret;
- memset(&ret, 0, sizeof(ret));
#ifdef __linux__
try
{