Skip to content

Squash various false positives from scan-build

This builds on top of !4005 (merged) (so that one needs reviewing first), and squashes all the false positives I found when running scan-build locally. It can then, finally, enable fatal errors from scan-build so we can gate the CI on it.

See the commit messages for details of each warning and why it’s a false positive.

Fixes: #1767 (closed)

Merge request reports