diff options
| author | Ben Straub <bs@github.com> | 2012-10-25 09:02:55 -0700 |
|---|---|---|
| committer | Ben Straub <bs@github.com> | 2012-10-25 09:02:55 -0700 |
| commit | 1fc375e6ef0d490305ef973278aa96756835b6a5 (patch) | |
| tree | d359ab5a4da816ccba43a7e8116715045cf14725 /tests-clar/checkout/index.c | |
| parent | 1eb8cd7f879dbd2fc3c3c0d341f4dd6ed636b97b (diff) | |
| download | libgit2-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.c | 2 |
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; } |
