]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
wildcard: Mark unused argument as such.
authorVladimir Serbinenko <phcoder@gmail.com>
Sat, 21 Feb 2015 15:19:09 +0000 (16:19 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Sat, 21 Feb 2015 15:19:09 +0000 (16:19 +0100)
grub-core/commands/wildcard.c

index d207acfed700091817b3972268cd6eb934673104..9b4e72766ff5f52c807534a17ad3d8190a289896 100644 (file)
@@ -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;