From 31e664a3e50696bf19ddf27b85ad2e766967d41e Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Wed, 25 May 2022 18:45:42 -0400 Subject: Fix compilation with -Wall -Wextra -Werror --- cache_from_tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cache_from_tree.c') diff --git a/cache_from_tree.c b/cache_from_tree.c index 90cafda..1f45e2a 100644 --- a/cache_from_tree.c +++ b/cache_from_tree.c @@ -36,7 +36,7 @@ static struct trust_cache cache = {}; static int -tccallback(const char *path, const struct stat *sb, int typeflag, struct FTW *ftw) +tccallback(const char *path, const struct stat *sb, __attribute__((unused)) int typeflag, __attribute__((unused)) struct FTW *ftw) { if (!S_ISREG(sb->st_mode)) return 0; -- cgit v1.2.3