Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c2f18b9

Browse files
author
Edward Thomson
committed
cleanup: unused warning
1 parent 37dba1a commit c2f18b9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/checkout/typechange.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,9 @@ static int make_submodule_dirty(git_submodule *sm, const char *name, void *paylo
229229
git_buf dirtypath = GIT_BUF_INIT;
230230
git_repository *submodule_repo;
231231

232+
GIT_UNUSED(name);
233+
GIT_UNUSED(payload);
234+
232235
/* remove submodule directory in preparation for init and repo_init */
233236
cl_git_pass(git_buf_joinpath(
234237
&submodulepath,

0 commit comments

Comments
 (0)