X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http-fetch.c;h=7f07d2a967fdecb497344817700962e9e213d3dd;hb=3899e7a329aabfc22eca9beb82599e1bb214b3d2;hp=de5fc44e660e3eb6f52191dd0983744447a2fe46;hpb=022f25e8d4bd3eaed6bb6d80a242f8930687d483;p=git.git diff --git a/http-fetch.c b/http-fetch.c index de5fc44e6..7f07d2a96 100644 --- a/http-fetch.c +++ b/http-fetch.c @@ -36,10 +36,10 @@ enum XML_Status { #define PREV_BUF_SIZE 4096 #define RANGE_HEADER_SIZE 30 -static int commits_on_stdin = 0; +static int commits_on_stdin; static int got_alternates = -1; -static int corrupt_object_found = 0; +static int corrupt_object_found; static struct curl_slist *no_pragma_header; @@ -52,7 +52,7 @@ struct alt_base struct alt_base *next; }; -static struct alt_base *alt = NULL; +static struct alt_base *alt; enum object_request_state { WAITING, @@ -114,7 +114,7 @@ struct remote_ls_ctx }; #endif -static struct object_request *object_queue_head = NULL; +static struct object_request *object_queue_head; static size_t fwrite_sha1_file(void *ptr, size_t eltsize, size_t nmemb, void *data)