]> git.ipfire.org Git - thirdparty/git.git/blobdiff - color.c
git-compat-util.h: use "UNUSED", not "UNUSED(var)"
[thirdparty/git.git] / color.c
diff --git a/color.c b/color.c
index 04ad0a8bf75375a8f3556c925a8fd4a57e61c29b..f05d8a81d72115edbf47d34950a31615a15ea98e 100644 (file)
--- a/color.c
+++ b/color.c
@@ -415,7 +415,7 @@ int want_color_fd(int fd, int var)
        return var;
 }
 
-int git_color_config(const char *var, const char *value, void *UNUSED(cb))
+int git_color_config(const char *var, const char *value, void *cb UNUSED)
 {
        if (!strcmp(var, "color.ui")) {
                git_use_color_default = git_config_colorbool(var, value);