mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
In general, we don't add unnecessary braces. But in this case gcc warns about them. So this commit adds a few braces. The commit suppresses warnings about unitialized variables by initializing them to NULL. The change of bcmp_translate()'s parameter declaration is needed to avoid warnings about "discards qualifiers from pointer target type". [sp: split original commit; more detailed commit message. ] Signed-off-by: Dmitry Kakurin <Dmitry.Kakurin@gmail.com> Signed-off-by: Steffen Prohaska <prohaska@zib.de>