summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-11-21 11:59:29 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-11-21 11:59:29 -0800
commitfda800f0b1f2ddd2bd8e1e8bfc2dfed6119fa602 (patch)
tree8a0def818607e0ef35a1639bd883637b0994eff5
parentSixth batch for 1.8.1 (diff)
parentremote-curl.c: Fix a compiler warning (diff)
downloadtgif-fda800f0b1f2ddd2bd8e1e8bfc2dfed6119fa602.tar.xz
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
-rw-r--r--remote-curl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote-curl.c b/remote-curl.c
index d8b3600bdd..9a8b123507 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