Re: [PATCH 1/3] Solve few fall-trough warnings

2018-02-22 Thread David Woodhouse
On Thu, 2018-02-22 at 21:29 +0100, Ľubomír Carik wrote: > thanks, so we can use e.g. '__attribute__((fallthrough))' statement; > looks ok? (modified patch attached) Just putting a /* fall through */ comment seemed to suffice to shut mingw32-gcc up. smime.p7s Description: S/MIME cryptographic sign

Re: [PATCH 1/3] Solve few fall-trough warnings

2018-02-22 Thread Ľubomír Carik
thanks, so we can use e.g. '__attribute__((fallthrough))' statement; looks ok? (modified patch attached) 2018-02-22 11:10 GMT+01:00 David Woodhouse : > On Thu, 2018-02-22 at 00:12 +0100, Ľubomír Carik wrote: >> Signed-off-by: Ľubomír Carik >> --- >> main.c | 2 ++ >> 1 file changed, 2 insertions

Re: [PATCH 1/3] Solve few fall-trough warnings

2018-02-22 Thread David Woodhouse
On Thu, 2018-02-22 at 00:12 +0100, Ľubomír Carik wrote: > Signed-off-by: Ľubomír Carik > --- >  main.c | 2 ++ >  1 file changed, 2 insertions(+) > > diff --git a/main.c b/main.c > index 935147f..86ba8cb 100644 > --- a/main.c > +++ b/main.c > @@ -610,6 +610,7 @@ static void print_build_opts(void)