clang: fix some compiler warnings

From CI.
This commit is contained in:
Dirk-Jan C. Binnema
2024-03-14 21:27:36 +02:00
parent 2929a82246
commit 9fd0d2be12
4 changed files with 2 additions and 6 deletions

View File

@ -655,7 +655,7 @@ Store::maildirs() const
Scanner::Handler handler = [&](const std::string& path, auto&& _1, auto&& _2) {
auto md{path.substr(prefix_size)};
mdirs.emplace_back(std::move(md.empty() ? "/" : md));
mdirs.emplace_back(md.empty() ? "/" : std::move(md));
return true;
};