Declare unused parameters

When building with global CFLAGS=-Wunused-parameter the output from the
build looks terrible.  This commit explicitly declares unused variables
to prevent triggering -Wunused-parameter

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2025-07-02 14:29:52 +02:00
1 parent 5e2e273cad
commit ffd00f646c
10 files changed
+55

No files matched your search

+5
View File
@@ -202,6 +202,9 @@ static int do_delete(const char *fpath, const struct stat *sb, int tflag, struct
{
const char *cond, *ptr;
(void)sb;
(void)tflag;
if (ftw->level == 0)
return 1;
@@ -390,6 +393,8 @@ static int do_assert(const char *fpath, const struct stat *sb, int tflg, struct
{
char *nm;
(void)sb;
if (ftw->level == 0)
return 1;