Commit c0c39025 by Carlos Martín Nieto

remote: fix C99-ism

parent 581b6a8e
......@@ -374,10 +374,11 @@ const char* git_remote__urlfordirection(git_remote *remote, int direction)
int git_remote_connect(git_remote *remote, int direction)
{
git_transport *t;
const char *url;
assert(remote);
const char* url = git_remote__urlfordirection(remote, direction);
url = git_remote__urlfordirection(remote, direction);
if (url == NULL )
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