summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2021-07-05 15:29:44 -0400
committerTom Rini <[email protected]>2021-07-05 15:29:44 -0400
commit1311dd37ecf476be041d0452d4ee38619aadd5de (patch)
tree5c48d348930efa23ec452673f2afafb9581e8eb9 /cmd
parent6194b45a83bde42cd2f404123823e5b326702001 (diff)
parentb1c2102db1774686282474aee3c2dd06df92f175 (diff)
Merge branch '2021-07-01-update-CI-containers'
- General test.py improvements - Rewrite the squashfs tests - Update our CI container to Ubuntu 20.04 "focal" base. - Make some changes to the Azure yaml so that we can have more tests run there.
Diffstat (limited to 'cmd')
-rw-r--r--cmd/nvedit_efi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/nvedit_efi.c b/cmd/nvedit_efi.c
index 094c0e80987..d5e93827e45 100644
--- a/cmd/nvedit_efi.c
+++ b/cmd/nvedit_efi.c
@@ -241,6 +241,7 @@ int do_env_print_efi(struct cmd_tbl *cmdtp, int flag, int argc,
char *const argv[])
{
const efi_guid_t *guid_p = NULL;
+ efi_guid_t guid;
bool verbose = true;
efi_status_t ret;
@@ -254,8 +255,6 @@ int do_env_print_efi(struct cmd_tbl *cmdtp, int flag, int argc,
for (argc--, argv++; argc > 0 && argv[0][0] == '-'; argc--, argv++) {
if (!strcmp(argv[0], "-guid")) {
- efi_guid_t guid;
-
if (argc == 1)
return CMD_RET_USAGE;
argc--;