avoid nodiscard compiler warnings

We got a lot of the warnings for unchecked Result / tl::expected; let's
handle those.
This commit is contained in:
Dirk-Jan C. Binnema
2026-08-09 18:26:42 +03:00
committed by Seth Ladygo
parent 7e32324ac4
commit 36d45b38af
11 changed files with 82 additions and 29 deletions

View File

@ -427,7 +427,7 @@ Indexer::Private::scan_worker()
if (!aborted && conf_.scan) {
// Store started time, not ending time, so that next time we run we know to scan
// anything that appeared during our scan.
store_.config().set<Mu::Config::Id::LastIndex>(started_.value());
store_.config().checked_set<Mu::Config::Id::LastIndex>(started_.value());
}
completed_ = ::time({});