remove unnecessary initializations

[jc: I needed to hand merge the changes to the updated codebase,
 so the result needs to be checked.]

Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
David Rientjes
2006-08-15 10:23:48 -07:00
committed by Junio C Hamano
parent c9c3470aec
commit 96f1e58f52
42 changed files with 163 additions and 163 deletions

View File

@ -17,7 +17,7 @@
static int fd_in;
static int fd_out;
static unsigned char remote_version = 0;
static unsigned char remote_version;
static unsigned char local_version = 1;
static ssize_t force_write(int fd, void *buffer, size_t length)
@ -36,9 +36,9 @@ static ssize_t force_write(int fd, void *buffer, size_t length)
return ret;
}
static int prefetches = 0;
static int prefetches;
static struct object_list *in_transit = NULL;
static struct object_list *in_transit;
static struct object_list **end_of_transit = &in_transit;
void prefetch(unsigned char *sha1)
@ -59,7 +59,7 @@ void prefetch(unsigned char *sha1)
}
static char conn_buf[4096];
static size_t conn_buf_posn = 0;
static size_t conn_buf_posn;
int fetch(unsigned char *sha1)
{