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
ddeaa7fb
Commit
ddeaa7fb
authored
Sep 24, 2011
by
schu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
t18-status.c: fix unused warnings
Signed-off-by: schu <schu-github@schulog.org>
parent
76c15b71
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
tests/t18-status.c
+3
-4
No files found.
tests/t18-status.c
View file @
ddeaa7fb
...
...
@@ -154,14 +154,14 @@ BEGIN_TEST(statuscb0, "test retrieving status for worktree of repository")
git_futils_rmdir_r
(
TEMP_REPO_FOLDER
,
1
);
END_TEST
static
int
status_cb1
(
const
char
*
path
,
unsigned
int
status_flags
,
void
*
payload
)
static
int
status_cb1
(
const
char
*
GIT_UNUSED
(
path
),
unsigned
int
GIT_UNUSED
(
status_flags
)
,
void
*
payload
)
{
int
*
count
=
(
int
*
)
payload
;;
GIT_UNUSED_ARG
(
path
);
GIT_UNUSED_ARG
(
status_flags
);
*
count
++
;
(
void
)
*
count
++
;
return
GIT_SUCCESS
;
}
...
...
@@ -445,4 +445,4 @@ BEGIN_SUITE(status)
ADD_TEST
(
singlestatus2
);
ADD_TEST
(
singlestatus3
);
ADD_TEST
(
singlestatus4
);
END_SUITE
\ No newline at end of file
END_SUITE
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