diff --git a/libafl/src/corpus/testcase.rs b/libafl/src/corpus/testcase.rs index ded6265777..2296d4f323 100644 --- a/libafl/src/corpus/testcase.rs +++ b/libafl/src/corpus/testcase.rs @@ -322,7 +322,7 @@ where /// Adds one objectives to the `objectives_found` counter. Mostly called from crash handler or executor. pub fn found_objective(&mut self) { - let _ = self.objectives_found.saturating_add(1); + self.objectives_found = self.objectives_found.saturating_add(1); } }