summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-01-14 16:09:45 -0500
committerJakob Kaivo <jkk@ung.org>2020-01-14 16:09:45 -0500
commitbb910c050b3f3379b5b600c6259508fdba93352a (patch)
tree8b338be4ef72873994c28cf13b56bb6e0645691e
parent33a6cdb7a7af2e43b3a6a8e055a84f0e5b7f43d3 (diff)
st is being used, so it doesn't need a (void)cast to suppress warnings
-rw-r--r--sources.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources.c b/sources.c
index 6561640..171de68 100644
--- a/sources.c
+++ b/sources.c
@@ -10,7 +10,7 @@ static struct majefile *tail = NULL;
static int addfile(const char *path, const struct stat *st, int flags, struct FTW *ft)
{
- (void)st; (void)flags; (void)ft;
+ (void)flags; (void)ft;
if (path[0] == '.' && path[1] == '/') {
path += 2;