In the course of tracking down a runtime error in #libgit2 (v1.9.0), I ran the #Xcode static analyzer against it, and it's kind of scary…