Merge pull request #4810 from libgit2/cmn/format-security cmake: enable -Wformat and -Wformat-security