Unverified Commit 3bd462a1 by Laurence McGlashan Committed by GitHub

Update remote.c

Initialise cfg variable.
parent c8823fb0
...@@ -884,7 +884,7 @@ static void url_config_trim(git_net_url *url) ...@@ -884,7 +884,7 @@ static void url_config_trim(git_net_url *url)
static int http_proxy_config(char **out, git_remote *remote, git_net_url *url) static int http_proxy_config(char **out, git_remote *remote, git_net_url *url)
{ {
git_config *cfg; git_config *cfg = NULL;
git_buf buf = GIT_BUF_INIT; git_buf buf = GIT_BUF_INIT;
git_net_url lookup_url = GIT_NET_URL_INIT; git_net_url lookup_url = GIT_NET_URL_INIT;
int error; int error;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment