mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
fix warning (unitialized variable)
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
This commit is contained in:
@@ -107,7 +107,7 @@ static void insert_packed_refs(const char *packed_refs, struct ref **list)
|
||||
return;
|
||||
|
||||
for (;;) {
|
||||
int cmp, len;
|
||||
int cmp = cmp, len;
|
||||
|
||||
if (!fgets(buffer, sizeof(buffer), f)) {
|
||||
fclose(f);
|
||||
|
||||
Reference in New Issue
Block a user