lib/shell.c: minor cleanup

Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
Peter Jones 2018-03-12 16:00:44 -04:00 committed by Peter Jones
parent 80b7937e17
commit c8811bfed2

View File

@ -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) {