mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-28 20:51:11 +00:00
Merge pull request #2805 from ethomson/msvc
submodule: declare vars at top of func block
This commit is contained in:
commit
2ce37794d0
@ -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