Blame SOURCES/0228-Mark-some-unused-stuff-unused.patch
|
|
d9d99f |
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
d9d99f |
From: Peter Jones <pjones@redhat.com>
|
|
|
d9d99f |
Date: Mon, 27 Aug 2018 13:10:08 -0400
|
|
|
d9d99f |
Subject: [PATCH] Mark some unused stuff unused
|
|
|
d9d99f |
|
|
|
d9d99f |
Signed-off-by: Peter Jones <pjones@redhat.com>
|
|
|
d9d99f |
---
|
|
|
d9d99f |
grub-core/commands/blscfg.c | 4 ++--
|
|
|
d9d99f |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
d9d99f |
|
|
|
d9d99f |
diff --git a/grub-core/commands/blscfg.c b/grub-core/commands/blscfg.c
|
|
|
d9d99f |
index bdb1c5a95aa..abd6f00d0de 100644
|
|
|
d9d99f |
--- a/grub-core/commands/blscfg.c
|
|
|
d9d99f |
+++ b/grub-core/commands/blscfg.c
|
|
|
d9d99f |
@@ -434,7 +434,7 @@ finish:
|
|
|
d9d99f |
|
|
|
d9d99f |
static grub_envblk_t saved_env = NULL;
|
|
|
d9d99f |
|
|
|
d9d99f |
-static int
|
|
|
d9d99f |
+static int UNUSED
|
|
|
d9d99f |
save_var (const char *name, const char *value, void *whitelist UNUSED)
|
|
|
d9d99f |
{
|
|
|
d9d99f |
const char *val = grub_env_get (name);
|
|
|
d9d99f |
@@ -446,7 +446,7 @@ save_var (const char *name, const char *value, void *whitelist UNUSED)
|
|
|
d9d99f |
return 0;
|
|
|
d9d99f |
}
|
|
|
d9d99f |
|
|
|
d9d99f |
-static int
|
|
|
d9d99f |
+static int UNUSED
|
|
|
d9d99f |
unset_var (const char *name, const char *value UNUSED, void *whitelist)
|
|
|
d9d99f |
{
|
|
|
d9d99f |
grub_dprintf("blscfg", "restoring \"%s\"\n", name);
|