diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-11-02 16:14:00 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-02 16:14:00 -0700 |
commit | 7240bfeaf7eccc6d2c4b2df07b7f33caa547953c (patch) | |
tree | 77dafa7db208a8c8d8c835a62af44e4bf0ae9c91 | |
parent | Merge branch 'gp/maint-diffdoc' (diff) | |
parent | transport.c: squelch a gcc 4.0.1 complaint about an uninitialized variable (diff) | |
download | tgif-7240bfeaf7eccc6d2c4b2df07b7f33caa547953c.tar.xz |
Merge branch 'br/gccfix'
* br/gccfix:
transport.c: squelch a gcc 4.0.1 complaint about an uninitialized variable
-rw-r--r-- | transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transport.c b/transport.c index 5132d289da..d44fe7cee7 100644 --- a/transport.c +++ b/transport.c @@ -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); |