Merge branch 'maint'
[gitweb.git] / transport.c
index bd290fa7d3d6fcb3e8b53fe8986ec79290fdea45..42a61b30b3778181a06afad8afcd5bfcfc56f05a 100644 (file)
@@ -106,7 +106,8 @@ static void insert_packed_refs(const char *packed_refs, struct ref **list)
                return;
 
        for (;;) {
-               int cmp = cmp, len;
+               int cmp = 0; /* assigned before used */
+               int len;
 
                if (!fgets(buffer, sizeof(buffer), f)) {
                        fclose(f);