mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2026-02-01 14:50:34 +00:00
lib/shell.c: minor cleanup
Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
parent
80b7937e17
commit
c8811bfed2
@ -34,7 +34,8 @@ argsplit(EFI_HANDLE image, int *argc, CHAR16*** ARGV)
|
||||
}
|
||||
}
|
||||
|
||||
(*argc)++; /* we counted spaces, so add one for initial */
|
||||
/* we counted spaces, so add one for initial */
|
||||
(*argc)++;
|
||||
|
||||
*ARGV = AllocatePool(*argc * sizeof(**ARGV));
|
||||
if (!*ARGV) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user