aboutsummaryrefslogtreecommitdiff
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
-rw-r--r--scan-tree.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/scan-tree.c b/scan-tree.c
index 8858b74..84da86e 100644
--- a/scan-tree.c
+++ b/scan-tree.c
@@ -54,8 +54,7 @@ static void scan_tree_repo_config(const char *name, const char *value)
config_fn(repo, name, value);
}
-static int gitconfig_config(const char *key, const char *value,
- const __attribute__((unused)) struct config_context *ctx, void *cb)
+static int gitconfig_config(const char *key, const char *value, const struct config_context *, void *cb)
{
const char *name;