diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2021-11-28 17:52:31 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2021-12-06 17:52:00 +0100 |
commit | f350e48a212ca8f992b468d1cb87cd77fda68e37 (patch) | |
tree | 218d6d3dcaabf25b19e46ed392c4a44eb96ef9b3 /src | |
parent | 4e8b6f726dab50865d7daded2299d0187184901f (diff) | |
download | ouroboros-f350e48a212ca8f992b468d1cb87cd77fda68e37.tar.gz ouroboros-f350e48a212ca8f992b468d1cb87cd77fda68e37.zip |
ipcpd: Fix fallthrough warnings
Some cases were not guarded by explicit fallthrough where needed.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src')
-rw-r--r-- | src/ipcpd/ipcp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ipcpd/ipcp.c b/src/ipcpd/ipcp.c index e3e4221a..ff160652 100644 --- a/src/ipcpd/ipcp.c +++ b/src/ipcpd/ipcp.c @@ -877,8 +877,11 @@ void ipcp_shutdown() #endif switch(info.si_signo) { case SIGINT: + /* FALLTHRU */ case SIGTERM: + /* FALLTHRU */ case SIGHUP: + /* FALLTHRU */ case SIGQUIT: if (info.si_pid == ipcpi.irmd_pid) { if (ipcp_get_state() == IPCP_INIT) @@ -890,6 +893,7 @@ void ipcp_shutdown() break; case SIGPIPE: log_dbg("Ignored SIGPIPE."); + continue; default: continue; } |