Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Olivier Latour <pol@mac.com>2015-06-02 18:36:15 +0300
committerPierre-Olivier Latour <pol@mac.com>2015-06-02 21:49:38 +0300
commit9f3c18e2ac082454c955761f10f4a0d06390c27f (patch)
tree05ad8c3289df5f6ea3583127db3395aa9314b944 /tests/stash
parentbe5fda75879f7ed89c7a72adc257872d1ea13803 (diff)
Fixed build warnings on Xcode 6.1
Diffstat (limited to 'tests/stash')
-rw-r--r--tests/stash/apply.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/stash/apply.c b/tests/stash/apply.c
index e9b56f8c6..c242536be 100644
--- a/tests/stash/apply.c
+++ b/tests/stash/apply.c
@@ -254,6 +254,11 @@ int checkout_notify(
{
struct seen_paths *seen_paths = (struct seen_paths *)payload;
+ GIT_UNUSED(why);
+ GIT_UNUSED(baseline);
+ GIT_UNUSED(target);
+ GIT_UNUSED(workdir);
+
if (strcmp(path, "what") == 0)
seen_paths->what = 1;
else if (strcmp(path, "how") == 0)
@@ -318,6 +323,8 @@ int aborting_progress_cb(
git_stash_apply_progress_t progress,
void *payload)
{
+ GIT_UNUSED(payload);
+
if (progress == GIT_STASH_APPLY_PROGRESS_ANALYZE_MODIFIED)
return -44;
@@ -327,7 +334,6 @@ int aborting_progress_cb(
void test_stash_apply__progress_cb_can_abort(void)
{
git_stash_apply_options opts = GIT_STASH_APPLY_OPTIONS_INIT;
- git_stash_apply_progress_t progress = GIT_STASH_APPLY_PROGRESS_NONE;
opts.progress_cb = aborting_progress_cb;