From 61679084243c471053b0b1b9865b40d721586958 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Sun, 1 Feb 2009 11:19:19 +1100 Subject: Fix unused parameter warnings Signed-off-by: Jeremy Kerr --- discover/kboot-parser.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'discover/kboot-parser.c') diff --git a/discover/kboot-parser.c b/discover/kboot-parser.c index f8cd61d..7124561 100644 --- a/discover/kboot-parser.c +++ b/discover/kboot-parser.c @@ -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; -- cgit v1.2.1