Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
clang-analyzer: warnings from scan-build: uninitialized values, null pointer deref, dead store, memory leak #221
I built the latest git using scan-build from LLVM 8 from Debian and got some warnings about an uninitialized value a potential null pointer deref, a dead store and a potential memory leak (see below):
It would be great if you could regularly run scan-build and fix any issues before pushing new commits.