mirror of
https://github.com/troglobit/finit.git
synced 2026-10-14 10:19:36 +00:00
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:
10 files changed
+55
No files matched your search
@@ -114,6 +114,9 @@ static int parse_mm(char *arg, int *major, int *minor)
|
||||
|
||||
static int do_delete(const char *fpath, const struct stat *sb, int tflag, struct FTW *ftw)
|
||||
{
|
||||
(void)sb;
|
||||
(void)tflag;
|
||||
|
||||
if (ftw->level == 0)
|
||||
return 1;
|
||||
|
||||
|
||||
Reference in new issue
Block a user