summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 831b07385..6df32b1c3 100644
--- a/src/util.c
+++ b/src/util.c
@@ -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);