]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/repack.c
git-compat-util.h: use "UNUSED", not "UNUSED(var)"
[thirdparty/git.git] / builtin / repack.c
index ff952dec48d28da0e23bdd475b967ae01777a5c4..a5bacc7797435696cd6e23e73f847fc00d39bb7f 100644 (file)
@@ -514,9 +514,9 @@ struct midx_snapshot_ref_data {
        int preferred;
 };
 
-static int midx_snapshot_ref_one(const char *UNUSED(refname),
+static int midx_snapshot_ref_one(const char *refname UNUSED,
                                 const struct object_id *oid,
-                                int UNUSED(flag), void *_data)
+                                int flag UNUSED, void *_data)
 {
        struct midx_snapshot_ref_data *data = _data;
        struct object_id peeled;