From: Vladimir Serbinenko Date: Sat, 21 Feb 2015 15:19:09 +0000 (+0100) Subject: wildcard: Mark unused argument as such. X-Git-Tag: 2.02-beta3~418 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec65605af487d702577bfba214c27efd1a0d8b73;p=thirdparty%2Fgrub.git wildcard: Mark unused argument as such. --- diff --git a/grub-core/commands/wildcard.c b/grub-core/commands/wildcard.c index d207acfed..9b4e72766 100644 --- a/grub-core/commands/wildcard.c +++ b/grub-core/commands/wildcard.c @@ -293,7 +293,8 @@ struct match_files_ctx /* Helper for match_files. */ static int -match_files_iter (const char *name, const struct grub_dirhook_info *info, +match_files_iter (const char *name, + const struct grub_dirhook_info *info __attribute__((unused)), void *data) { struct match_files_ctx *ctx = data;