diff options
author | Edward Thomson <ethomson@microsoft.com> | 2013-12-09 19:25:36 +0400 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2013-12-09 20:40:44 +0400 |
commit | 5588f0736089ab00e12cb7ea7c8143ec666738e6 (patch) | |
tree | 1f877c23d223d4dedabafb4bc6c793efe82f9fdc /tests/blame | |
parent | 07c5dc84fd486b380d618319b4852591d355bd81 (diff) |
Clean up warnings
Diffstat (limited to 'tests/blame')
-rw-r--r-- | tests/blame/harder.c | 8 |
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). |