Skip to content

Commit

Permalink
Merge branch 'br/gccfix'
Browse files Browse the repository at this point in the history
* br/gccfix:
  transport.c: squelch a gcc 4.0.1 complaint about an uninitialized variable
  • Loading branch information
Junio C Hamano committed Nov 2, 2007
2 parents 784c099 + 47ec794 commit 7240bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7240bfe

Please sign in to comment.