mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 22:25:04 +00:00
remote: Fix mid-block declaration
This commit is contained in:
parent
bdaa40d3da
commit
9063be1f45
@ -485,8 +485,8 @@ int git_remote_update_tips(git_remote *remote)
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (; i < refs->length; ++i) {
|
for (; i < refs->length; ++i) {
|
||||||
autotag = 0;
|
|
||||||
git_pkt *pkt = refs->contents[i];
|
git_pkt *pkt = refs->contents[i];
|
||||||
|
autotag = 0;
|
||||||
|
|
||||||
if (pkt->type == GIT_PKT_REF)
|
if (pkt->type == GIT_PKT_REF)
|
||||||
head = &((git_pkt_ref *)pkt)->head;
|
head = &((git_pkt_ref *)pkt)->head;
|
||||||
|
Loading…
Reference in New Issue
Block a user