On Sat, 2024-12-28 at 15:00 +0200, Ilmari Lauhakangas wrote: > Is this a false positive? > > From > https://gerrit.libreoffice.org/c/core/+/178659/5/desktop/source/lib/init.cxx Kind of yeah. coverity doesn't seem to know that the successful "contains" implies that the following "find" with the same search arg won't fail. But that's not super obvious anyway, so trivial to rewrite it like I did in https://gerrit.libreoffice.org/c/core/+/179488/2/desktop/source/lib/init.cxx to keep it happy.