Commit 9063be1f by Vicent Marti

remote: Fix mid-block declaration

parent bdaa40d3
......@@ -485,8 +485,8 @@ int git_remote_update_tips(git_remote *remote)
}
for (; i < refs->length; ++i) {
autotag = 0;
git_pkt *pkt = refs->contents[i];
autotag = 0;
if (pkt->type == GIT_PKT_REF)
head = &((git_pkt_ref *)pkt)->head;
......
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