summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a096bb1)
raw | patch | inline | side by side (parent: a096bb1)
author | Mike Hommey <mh@glandium.org> | |
Mon, 10 Dec 2007 21:36:07 +0000 (22:36 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 15 Dec 2007 05:31:59 +0000 (21:31 -0800) |
It appears that despite being initialized, it was never used.
Signed-off-by: Mike Hommey <mh@glandium.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Mike Hommey <mh@glandium.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-push.c | patch | blob | history |
diff --git a/http-push.c b/http-push.c
index c96e43da163fac00b245f2fe5736494185e40aba..176bb29fab011500e882d6fd6a3ed467b853bb18 100644 (file)
--- a/http-push.c
+++ b/http-push.c
static signed char remote_dir_exists[256];
static struct curl_slist *no_pragma_header;
-static struct curl_slist *default_headers;
static int push_verbosely;
static int push_all = MATCH_REFS_NONE;
http_init();
no_pragma_header = curl_slist_append(no_pragma_header, "Pragma:");
- default_headers = curl_slist_append(default_headers, "Range:");
- default_headers = curl_slist_append(default_headers, "Destination:");
- default_headers = curl_slist_append(default_headers, "If:");
- default_headers = curl_slist_append(default_headers,
- "Pragma: no-cache");
/* Verify DAV compliance/lock support */
if (!locking_available()) {
free(remote);
curl_slist_free_all(no_pragma_header);
- curl_slist_free_all(default_headers);
http_cleanup();