summaryrefslogtreecommitdiff
path: root/remote-curl.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-11-21 19:59:29 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-11-21 19:59:29 (GMT)
commitfda800f0b1f2ddd2bd8e1e8bfc2dfed6119fa602 (patch)
tree8a0def818607e0ef35a1639bd883637b0994eff5 /remote-curl.c
parent3a189da601e676a997cbb06b53da02cac364b2ff (diff)
parent377115493a9f3700f9b71de9ac86464b8bfd3fa2 (diff)
downloadgit-fda800f0b1f2ddd2bd8e1e8bfc2dfed6119fa602.zip
git-fda800f0b1f2ddd2bd8e1e8bfc2dfed6119fa602.tar.gz
git-fda800f0b1f2ddd2bd8e1e8bfc2dfed6119fa602.tar.bz2
Merge branch 'jk/maint-http-half-auth-fetch'
Finishing touches to squelch a compiler warning. * jk/maint-http-half-auth-fetch: remote-curl.c: Fix a compiler warning
Diffstat (limited to 'remote-curl.c')
-rw-r--r--remote-curl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote-curl.c b/remote-curl.c
index d8b3600..9a8b123 100644
--- a/remote-curl.c
+++ b/remote-curl.c
@@ -400,7 +400,7 @@ static int post_rpc(struct rpc_state *rpc)
struct curl_slist *headers = NULL;
int use_gzip = rpc->gzip_request;
char *gzip_body = NULL;
- size_t gzip_size;
+ size_t gzip_size = 0;
int err, large_request = 0;
/* Try to load the entire request, if we can fit it into the