Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-11-03 02:14:00 +0300
committerJunio C Hamano <gitster@pobox.com>2007-11-03 02:14:00 +0300
commit7240bfeaf7eccc6d2c4b2df07b7f33caa547953c (patch)
tree77dafa7db208a8c8d8c835a62af44e4bf0ae9c91
parent784c099a30368af4238e2713e6220688119239a1 (diff)
parent47ec79430dc6a60336bebdc0a45fb9f15129d0c7 (diff)
Merge branch 'br/gccfix'
* br/gccfix: transport.c: squelch a gcc 4.0.1 complaint about an uninitialized variable
-rw-r--r--transport.c2
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);