about summary refs log tree commit diff homepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Core/Executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp
index cdf012a5..b13afb6a 100644
--- a/lib/Core/Executor.cpp
+++ b/lib/Core/Executor.cpp
@@ -3923,7 +3923,7 @@ void Executor::callExternalFunction(ExecutionState &state,
   if (MemoryManager::isDeterministic) {
     auto const minflt = [] {
       struct rusage ru = {};
-      int ret = getrusage(RUSAGE_SELF, &ru);
+      [[maybe_unused]] int ret = getrusage(RUSAGE_SELF, &ru);
       assert(!ret && "getrusage failed");
       assert(ru.ru_minflt >= 0);
       return ru.ru_minflt;