projects
/
petitboot
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix unused parameter warnings
[petitboot]
/
discover
/
kboot-parser.c
diff --git
a/discover/kboot-parser.c
b/discover/kboot-parser.c
index f8cd61d5b2e66a2cd971265cdcecccd6822d9af3..712456142f903c01ec04b17fb89c41ae587b64c3 100644
(file)
--- 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;