Re: [PATCH] tests/test-char: Use a proper fallthrough comment

2020-10-12 Thread Laurent Vivier
Le 02/10/2020 à 19:13, Thomas Huth a écrit : > For being able to compile with -Werror=implicit-fallthrough we need > to use comments that the compiler recognizes. Use "fallthrough" instead > of "no break" here. > > Signed-off-by: Thomas Huth > --- > tests/test-char.c | 2 +- > 1 file changed, 1

Re: [PATCH] tests/test-char: Use a proper fallthrough comment

2020-10-02 Thread Philippe Mathieu-Daudé
On 10/2/20 7:13 PM, Thomas Huth wrote: > For being able to compile with -Werror=implicit-fallthrough we need > to use comments that the compiler recognizes. Use "fallthrough" instead > of "no break" here. > > Signed-off-by: Thomas Huth > --- > tests/test-char.c | 2 +- > 1 file changed, 1 insert

Re: [PATCH] tests/test-char: Use a proper fallthrough comment

2020-10-02 Thread Marc-André Lureau
On Fri, Oct 2, 2020 at 9:14 PM Thomas Huth wrote: > For being able to compile with -Werror=implicit-fallthrough we need > to use comments that the compiler recognizes. Use "fallthrough" instead > of "no break" here. > > Signed-off-by: Thomas Huth > Reviewed-by: Marc-André Lureau --- > tests/

[PATCH] tests/test-char: Use a proper fallthrough comment

2020-10-02 Thread Thomas Huth
For being able to compile with -Werror=implicit-fallthrough we need to use comments that the compiler recognizes. Use "fallthrough" instead of "no break" here. Signed-off-by: Thomas Huth --- tests/test-char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-char.c b