mirror of
https://github.com/git/git.git
synced 2024-11-23 18:05:29 +08:00
Merge branch 'br/gccfix'
* br/gccfix: transport.c: squelch a gcc 4.0.1 complaint about an uninitialized variable
This commit is contained in:
commit
7240bfeaf7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user