]> git.ozlabs.org Git - petitboot/blobdiff - discover/kboot-parser.c
Fix unused parameter warnings
[petitboot] / discover / kboot-parser.c
index f8cd61d5b2e66a2cd971265cdcecccd6822d9af3..712456142f903c01ec04b17fb89c41ae587b64c3 100644 (file)
@@ -117,7 +117,9 @@ static int check_for_global_option(struct kboot_context *ctx,
        return 0;
 }
 
-static char *get_global_option(struct kboot_context *ctx, const char *name)
+static char *get_global_option(
+               struct kboot_context *ctx __attribute__((unused)),
+               const char *name)
 {
        int i;