Commit 2ce37794 by Edward Thomson

Merge pull request #2805 from ethomson/msvc

submodule: declare vars at top of func block
parents 9b22f8b4 5018e2c6
......@@ -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);
}
......
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