*: add -Wunused-parameter; fix resulting breakage
[oweals/busybox.git] / findutils / grep.c
index 1094dcc639696ac12d64860a580eebbbb03f70c4..c4cfcb8527abbf14e597deaddb990fcc7d92a1cb 100644 (file)
@@ -371,7 +371,7 @@ static void load_regexes_from_file(llist_t *fopt)
        }
 }
 
-static int file_action_grep(const char *filename, struct stat *statbuf, void* matched, int depth)
+static int file_action_grep(const char *filename, struct stat *statbuf ATTRIBUTE_UNUSED, void* matched, int depth ATTRIBUTE_UNUSED)
 {
        FILE *file = fopen(filename, "r");
        if (file == NULL) {