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;
|
return;
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
int cmp, len;
|
int cmp = cmp, len;
|
||||||
|
|
||||||
if (!fgets(buffer, sizeof(buffer), f)) {
|
if (!fgets(buffer, sizeof(buffer), f)) {
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
Loading…
Reference in New Issue
Block a user