Fix -Wmaybe-uninitialized warning

This commit is contained in:
Michael Schubert 2012-12-17 15:50:12 +01:00
parent 69a402d46c
commit 101659be5d

View File

@ -199,7 +199,7 @@ int git__strncmp(const char *a, const char *b, size_t sz)
int git__strncasecmp(const char *a, const char *b, size_t sz)
{
int al, bl;
int al = 0, bl = 0;
while (sz && *a && *b) {
al = (unsigned char)tolower(*a);