Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
4592b62e
Commit
4592b62e
authored
Sep 17, 2014
by
Vicent Marti
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2572 from cirosantilli/factor-void
Replace void casts with GIT_UNUSED.
parents
1312f87b
c5cf8cad
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/path.c
+2
-2
tests/checkout/conflict.c
+2
-2
No files found.
src/path.c
View file @
4592b62e
...
...
@@ -965,7 +965,7 @@ int git_path_direach(
path_dirent_data
de_data
;
struct
dirent
*
de
,
*
de_buf
=
(
struct
dirent
*
)
&
de_data
;
(
void
)
flags
;
GIT_UNUSED
(
flags
)
;
#ifdef GIT_USE_ICONV
git_path_iconv_t
ic
=
GIT_PATH_ICONV_INIT
;
...
...
@@ -1036,7 +1036,7 @@ int git_path_dirload(
path_dirent_data
de_data
;
struct
dirent
*
de
,
*
de_buf
=
(
struct
dirent
*
)
&
de_data
;
(
void
)
flags
;
GIT_UNUSED
(
flags
)
;
#ifdef GIT_USE_ICONV
git_path_iconv_t
ic
=
GIT_PATH_ICONV_INIT
;
...
...
tests/checkout/conflict.c
View file @
4592b62e
...
...
@@ -1078,8 +1078,8 @@ static void collect_progress(
{
git_vector
*
paths
=
payload
;
(
void
)
completed_steps
;
(
void
)
total_steps
;
GIT_UNUSED
(
completed_steps
)
;
GIT_UNUSED
(
total_steps
)
;
if
(
path
==
NULL
)
return
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment