mirror of
https://github.com/git/git
synced 2024-08-25 02:35:46 +00: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 a new issue