Commit d07a0dc1 by punkymaniac

Remove useless condition

parent 2934b447
......@@ -226,8 +226,7 @@ static int git_smart__connect(
t->url = git__strdup(url);
GIT_ERROR_CHECK_ALLOC(t->url);
if (t->proxy.url)
git_proxy_options_clear(&t->proxy);
git_proxy_options_clear(&t->proxy);
if (git_proxy_options_dup(&t->proxy, proxy) < 0)
return -1;
......
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