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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2018-02-22 at 00:12 +0100, ?ubom?r Carik wrote:
> Signed-off-by: ?ubom?r Carik <Lubomir.Carik at gmail.com>
> ---
> ?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)
> ?	case 2:
> ?		printf("%sHOTP software token", sep);
> ?		sep = comma;
> +		break;
> ?	case 1:
> ?		printf("%sTOTP software token", sep);
> ?		sep = comma;

That one really should fall through. If it returns 1 that means we have
only TOTP support; if it returns 2 we have both.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5213 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20180222/96e2fcd4/attachment.bin>


[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux