From c8811bfed26fe76103105ab1f39828e5123107dd Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 12 Mar 2018 16:00:44 -0400 Subject: lib/shell.c: minor cleanup Signed-off-by: Peter Jones --- lib/shell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/shell.c') diff --git a/lib/shell.c b/lib/shell.c index 224791a0..79cc41d4 100644 --- a/lib/shell.c +++ b/lib/shell.c @@ -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) { -- cgit v1.2.3