From: Jan Kiszka <[email protected]> Found by a code checker called Codesafe, see https://github.com/siemens/efibootguard/pull/2. Converted into a proper patch to fulfill our contribution process.
Signed-off-by: Jan Kiszka <[email protected]> --- env/env_api_fat.c | 1 - tools/bg_setenv.c | 1 - 2 files changed, 2 deletions(-) diff --git a/env/env_api_fat.c b/env/env_api_fat.c index 7118a92..9f2a5cd 100644 --- a/env/env_api_fat.c +++ b/env/env_api_fat.c @@ -351,7 +351,6 @@ int bgenv_set(BGENV *env, char *key, uint64_t type, void *data, { EBGENVKEY e; int val; - char *p; char *value = (char *)data; if (!key || !data || datalen == 0) { diff --git a/tools/bg_setenv.c b/tools/bg_setenv.c index 5d8e9b8..9979306 100644 --- a/tools/bg_setenv.c +++ b/tools/bg_setenv.c @@ -115,7 +115,6 @@ newaction_nomem: static void journal_process_action(BGENV *env, struct env_action *action) { - uint8_t *var; ebgenv_t e; char *tmp; -- 2.16.4 -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/efibootguard-dev/d877ea9f-122b-1a07-b8a0-843b25c326e8%40siemens.com.
