]> git.proxmox.com Git - libgit2.git/commitdiff
diff: fix warning
authoryorah <yoram.harmelin@gmail.com>
Fri, 14 Jun 2013 12:02:00 +0000 (14:02 +0200)
committeryorah <yoram.harmelin@gmail.com>
Fri, 14 Jun 2013 18:01:36 +0000 (20:01 +0200)
tests-clar/diff/rename.c

index fd31a38591e23e6e90f04e71dbde5f97fcc4785c..224945e600e7b13cdf077dcaa8a26811a53357aa 100644 (file)
@@ -825,6 +825,8 @@ int test_names_expected(const git_diff_delta *delta, float progress, void *p)
 {
        struct rename_expected *expected = p;
 
+       GIT_UNUSED(progress);
+
        cl_assert(expected->idx < expected->len);
 
        cl_assert_equal_i(delta->status, GIT_DELTA_RENAMED);