summaryrefslogtreecommitdiff
path: root/tests-clar/checkout/index.c
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-10-25 09:02:55 -0700
committerBen Straub <bs@github.com>2012-10-25 09:02:55 -0700
commit1fc375e6ef0d490305ef973278aa96756835b6a5 (patch)
treed359ab5a4da816ccba43a7e8116715045cf14725 /tests-clar/checkout/index.c
parent1eb8cd7f879dbd2fc3c3c0d341f4dd6ed636b97b (diff)
downloadlibgit2-1fc375e6ef0d490305ef973278aa96756835b6a5.tar.gz
Fix Windows build
Pedantic ordering of GIT_UNUSED vs. variable declarations.
Diffstat (limited to 'tests-clar/checkout/index.c')
-rw-r--r--tests-clar/checkout/index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/checkout/index.c b/tests-clar/checkout/index.c
index 58b3c7e37..89bc1da15 100644
--- a/tests-clar/checkout/index.c
+++ b/tests-clar/checkout/index.c
@@ -363,8 +363,8 @@ void test_checkout_index__wont_notify_of_expected_line_ending_changes(void)
static void progress(const char *path, size_t cur, size_t tot, void *payload)
{
- GIT_UNUSED(path); GIT_UNUSED(cur); GIT_UNUSED(tot);
bool *was_called = (bool*)payload;
+ GIT_UNUSED(path); GIT_UNUSED(cur); GIT_UNUSED(tot);
*was_called = true;
}