Commit 989710d9 by Russell Belfer

Fix warning message about mismatched types

parent c77342ef
......@@ -630,13 +630,11 @@ static git_futils_dirs_guess_cb git_futils__dir_guess[GIT_FUTILS_DIR__MAX] = {
int git_futils_dirs_global_init(void)
{
git_futils_dir_t i;
git_buf *path;
const git_buf *path;
int error = 0;
for (i = 0; i < GIT_FUTILS_DIR__MAX; i++) {
if ((error = git_futils_dirs_get(&path, i)) < 0)
break;
}
for (i = 0; !error && i < GIT_FUTILS_DIR__MAX; i++)
error = git_futils_dirs_get(&path, i);
return error;
}
......
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