Commit 5018e2c6 by Edward Thomson

submodule: declare vars at top of func block

parent 007f3ff6
......@@ -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