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:
Diffstat (limited to 'tests/blame/harder.c')
-rw-r--r--tests/blame/harder.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/blame/harder.c b/tests/blame/harder.c
index 7c4dd4f74..e77741720 100644
--- a/tests/blame/harder.c
+++ b/tests/blame/harder.c
@@ -36,6 +36,8 @@ void test_blame_harder__m(void)
/* TODO */
git_blame_options opts = GIT_BLAME_OPTIONS_INIT;
+ GIT_UNUSED(opts);
+
opts.flags = GIT_BLAME_TRACK_COPIES_SAME_FILE;
}
@@ -44,6 +46,8 @@ void test_blame_harder__c(void)
{
git_blame_options opts = GIT_BLAME_OPTIONS_INIT;
+ GIT_UNUSED(opts);
+
/* Attribute the first hunk in b.txt to (E), since it was cut/pasted from
* a.txt in (D).
*/
@@ -54,6 +58,8 @@ void test_blame_harder__cc(void)
{
git_blame_options opts = GIT_BLAME_OPTIONS_INIT;
+ GIT_UNUSED(opts);
+
/* Attribute the second hunk in b.txt to (E), since it was copy/pasted from
* a.txt in (C).
*/
@@ -63,6 +69,8 @@ void test_blame_harder__cc(void)
void test_blame_harder__ccc(void)
{
git_blame_options opts = GIT_BLAME_OPTIONS_INIT;
+
+ GIT_UNUSED(opts);
/* Attribute the third hunk in b.txt to (E). This hunk was deleted from
* a.txt in (D), but reintroduced in (B).