aboutsummaryrefslogtreecommitdiffstats
path: root/cache_from_tree.c
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2022-05-25 18:45:42 -0400
committerCameron Katri <me@cameronkatri.com>2022-05-25 18:45:42 -0400
commit31e664a3e50696bf19ddf27b85ad2e766967d41e (patch)
tree0e94dfcacae7f4fb9182ca426e3257fee54ac627 /cache_from_tree.c
parent3dbb2ce2ea8b12867db0e24d4bd6c7c6501f5d5d (diff)
downloadtrustcache-31e664a3e50696bf19ddf27b85ad2e766967d41e.tar.gz
trustcache-31e664a3e50696bf19ddf27b85ad2e766967d41e.tar.zst
trustcache-31e664a3e50696bf19ddf27b85ad2e766967d41e.zip
Fix compilation with -Wall -Wextra -Werror
Diffstat (limited to 'cache_from_tree.c')
-rw-r--r--cache_from_tree.c2
1 files changed, 1 insertions, 1 deletions
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;