diff options
Diffstat (limited to 'range-diff.c')
-rw-r--r-- | range-diff.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/range-diff.c b/range-diff.c index 124dd678c3..c9e7787767 100644 --- a/range-diff.c +++ b/range-diff.c @@ -224,8 +224,10 @@ cleanup: return ret; } -static int patch_util_cmp(const void *dummy, const struct patch_util *a, - const struct patch_util *b, const char *keydata) +static int patch_util_cmp(const void *UNUSED(cmp_data), + const struct patch_util *a, + const struct patch_util *b, + const char *keydata) { return strcmp(a->diff, keydata ? keydata : b->diff); } |