mirror of
https://git.proxmox.com/git/libgit2
synced 2026-03-28 16:10:56 +00:00
submodule: declare vars at top of func block
This commit is contained in:
parent
007f3ff6fa
commit
5018e2c639
@ -889,8 +889,11 @@ static int git_submodule_update_repo_init_cb(
|
||||
int bare,
|
||||
void *payload)
|
||||
{
|
||||
git_submodule *sm;
|
||||
|
||||
GIT_UNUSED(bare);
|
||||
git_submodule *sm = payload;
|
||||
|
||||
sm = payload;
|
||||
|
||||
return submodule_repo_create(out, sm->repo, path);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user