mirror of
https://github.com/clearml/dropbear
synced 2025-02-12 07:25:30 +00:00
add comment FALLTHROUGH which recognize by many lint tools
This commit is contained in:
parent
da85400e57
commit
1dba0d4830
@ -53,6 +53,7 @@ atomicio(f, fd, _s, n)
|
|||||||
if (errno == EINTR || errno == EAGAIN)
|
if (errno == EINTR || errno == EAGAIN)
|
||||||
#endif
|
#endif
|
||||||
continue;
|
continue;
|
||||||
|
/* FALLTHROUGH */
|
||||||
case 0:
|
case 0:
|
||||||
return (res);
|
return (res);
|
||||||
default:
|
default:
|
||||||
|
@ -315,6 +315,7 @@ void cli_getopts(int argc, char ** argv) {
|
|||||||
break;
|
break;
|
||||||
case 'b':
|
case 'b':
|
||||||
next = &dummy;
|
next = &dummy;
|
||||||
|
/* FALLTHROUGH */
|
||||||
default:
|
default:
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"WARNING: Ignoring unknown option -%c\n", c);
|
"WARNING: Ignoring unknown option -%c\n", c);
|
||||||
|
Loading…
Reference in New Issue
Block a user