Re: [PATCH 07/24] menu: Use a switch statement

2022-10-19 Thread Simon Glass
Hi Heinrich, On Mon, 17 Oct 2022 at 16:07, Heinrich Schuchardt wrote: > > On 10/17/22 22:29, Simon Glass wrote: > > Convert the long line of if() statements to a switch() since this makes > > better use of the C language. > > > > Signed-off-by: Simon Glass > > --- > > > > common/menu.c | 31 ++

Re: [PATCH 07/24] menu: Use a switch statement

2022-10-17 Thread Heinrich Schuchardt
On 10/17/22 22:29, Simon Glass wrote: Convert the long line of if() statements to a switch() since this makes better use of the C language. Signed-off-by: Simon Glass --- common/menu.c | 31 --- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/comm

[PATCH 07/24] menu: Use a switch statement

2022-10-17 Thread Simon Glass
Convert the long line of if() statements to a switch() since this makes better use of the C language. Signed-off-by: Simon Glass --- common/menu.c | 31 --- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/common/menu.c b/common/menu.c index 22947f5d69