mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-21 20:14:44 +00:00
Merge pull request #2572 from cirosantilli/factor-void
Replace void casts with GIT_UNUSED.
This commit is contained in:
commit
4592b62ee5
@ -965,7 +965,7 @@ int git_path_direach(
|
|||||||
path_dirent_data de_data;
|
path_dirent_data de_data;
|
||||||
struct dirent *de, *de_buf = (struct dirent *)&de_data;
|
struct dirent *de, *de_buf = (struct dirent *)&de_data;
|
||||||
|
|
||||||
(void)flags;
|
GIT_UNUSED(flags);
|
||||||
|
|
||||||
#ifdef GIT_USE_ICONV
|
#ifdef GIT_USE_ICONV
|
||||||
git_path_iconv_t ic = GIT_PATH_ICONV_INIT;
|
git_path_iconv_t ic = GIT_PATH_ICONV_INIT;
|
||||||
@ -1036,7 +1036,7 @@ int git_path_dirload(
|
|||||||
path_dirent_data de_data;
|
path_dirent_data de_data;
|
||||||
struct dirent *de, *de_buf = (struct dirent *)&de_data;
|
struct dirent *de, *de_buf = (struct dirent *)&de_data;
|
||||||
|
|
||||||
(void)flags;
|
GIT_UNUSED(flags);
|
||||||
|
|
||||||
#ifdef GIT_USE_ICONV
|
#ifdef GIT_USE_ICONV
|
||||||
git_path_iconv_t ic = GIT_PATH_ICONV_INIT;
|
git_path_iconv_t ic = GIT_PATH_ICONV_INIT;
|
||||||
|
@ -1078,8 +1078,8 @@ static void collect_progress(
|
|||||||
{
|
{
|
||||||
git_vector *paths = payload;
|
git_vector *paths = payload;
|
||||||
|
|
||||||
(void)completed_steps;
|
GIT_UNUSED(completed_steps);
|
||||||
(void)total_steps;
|
GIT_UNUSED(total_steps);
|
||||||
|
|
||||||
if (path == NULL)
|
if (path == NULL)
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user