diff mbox series

[pseudo,07/20] test/test-nftw: Avoid compile warnings

Message ID 1768520616-7289-8-git-send-email-mark.hatle@kernel.crashing.org
State New
Headers show
Series Consolidated pseudo patches | expand

Commit Message

Mark Hatle Jan. 15, 2026, 11:43 p.m. UTC
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
---
 test/nftw-test-impl.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/test/nftw-test-impl.c b/test/nftw-test-impl.c
index 714da76..8d4c1a8 100644
--- a/test/nftw-test-impl.c
+++ b/test/nftw-test-impl.c
@@ -41,6 +41,8 @@  char* get_absolute_path(const char* fpath) {
 }
 
 static int callback(const char* fpath, const struct NFTW_STAT_STRUCT *sb, int typeflag, struct FTW *ftwbuf){
+    (void) ftwbuf;
+
     if (print_filename) {
         char* filepath = get_absolute_path(fpath);
         printf("%s\n", filepath);