Mercurial > dropbear
diff cli-runopts.c @ 1286:7d02b83c61fd coverity
merge
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 18 Mar 2016 22:47:33 +0800 |
parents | 9169e4e7cbee |
children | 750ec4ec4cbe |
line wrap: on
line diff
--- a/cli-runopts.c Tue Mar 15 23:20:40 2016 +0800 +++ b/cli-runopts.c Fri Mar 18 22:47:33 2016 +0800 @@ -33,10 +33,10 @@ cli_runopts cli_opts; /* GLOBAL */ -static void printhelp(); +static void printhelp(void); static void parse_hostname(const char* orighostarg); static void parse_multihop_hostname(const char* orighostarg, const char* argv0); -static void fill_own_user(); +static void fill_own_user(void); #ifdef ENABLE_CLI_PUBKEY_AUTH static void loadidentityfile(const char* filename, int warnfail); #endif @@ -315,6 +315,7 @@ break; case 'b': next = &dummy; + /* FALLTHROUGH */ default: fprintf(stderr, "WARNING: Ignoring unknown option -%c\n", c);