mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 19:04:05 +00:00
Merge branch 'pr/3035'
This commit is contained in:
commit
8932c32c21
@ -1006,12 +1006,12 @@ int git_path_direach(
|
||||
path_dirent_data de_data;
|
||||
struct dirent *de, *de_buf = (struct dirent *)&de_data;
|
||||
|
||||
GIT_UNUSED(flags);
|
||||
|
||||
#ifdef GIT_USE_ICONV
|
||||
git_path_iconv_t ic = GIT_PATH_ICONV_INIT;
|
||||
#endif
|
||||
|
||||
GIT_UNUSED(flags);
|
||||
|
||||
if (git_path_to_dir(path) < 0)
|
||||
return -1;
|
||||
|
||||
@ -1108,12 +1108,12 @@ int git_path_dirload(
|
||||
path_dirent_data de_data;
|
||||
struct dirent *de, *de_buf = (struct dirent *)&de_data;
|
||||
|
||||
GIT_UNUSED(flags);
|
||||
|
||||
#ifdef GIT_USE_ICONV
|
||||
git_path_iconv_t ic = GIT_PATH_ICONV_INIT;
|
||||
#endif
|
||||
|
||||
GIT_UNUSED(flags);
|
||||
|
||||
assert(path && contents);
|
||||
|
||||
path_len = strlen(path);
|
||||
|
Loading…
Reference in New Issue
Block a user