Merge branch 'br/gccfix'

* br/gccfix:
  transport.c: squelch a gcc 4.0.1 complaint about an uninitialized variable
This commit is contained in:
Junio C Hamano 2007-11-02 16:14:00 -07:00
commit 7240bfeaf7

View File

@ -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);