summaryrefslogtreecommitdiff
path: root/tests/t18-status.c
diff options
context:
space:
mode:
authorschu <schu-github@schulog.org>2011-09-24 13:41:10 +0200
committerschu <schu-github@schulog.org>2011-09-24 13:41:10 +0200
commitddeaa7fb68b1dcb9aab958d8cddc2855a2c187da (patch)
treed6bca1c2c86749a6057ab66381b30c3b959e0e34 /tests/t18-status.c
parent76c15b7191daef64e862d54749bf205a746b18c1 (diff)
downloadlibgit2-ddeaa7fb68b1dcb9aab958d8cddc2855a2c187da.tar.gz
t18-status.c: fix unused warnings
Signed-off-by: schu <schu-github@schulog.org>
Diffstat (limited to 'tests/t18-status.c')
-rw-r--r--tests/t18-status.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/t18-status.c b/tests/t18-status.c
index 1659fcd1a..bd205a438 100644
--- a/tests/t18-status.c
+++ b/tests/t18-status.c
@@ -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