Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'br/gccfix'
author
Junio C Hamano
<gitster@pobox.com>
Fri, 2 Nov 2007 23:14:00 +0000
(16:14 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 2 Nov 2007 23:14:00 +0000
(16:14 -0700)
* br/gccfix:
transport.c: squelch a gcc 4.0.1 complaint about an uninitialized variable
transport.c
patch
|
blob
|
history
raw
(from parent 1:
784c099
)
diff --git
a/transport.c
b/transport.c
index 5132d289dac711c73e3eb7c249694ffa7ce8193e..d44fe7cee7bd8f0e524eff6b516cd2c8b8c919e2 100644
(file)
--- 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);