aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2022-07-12 13:12:42 +0200
committerOliver Smith <osmith@sysmocom.de>2022-07-12 13:17:23 +0200
commit6cd951d714dcccc5e83503fdc2c9079b336cb2f1 (patch)
tree1d1fdb2a433ff9962a304fe5090478610a63159f /src
parent802943055dc73036ac28fde2d9992da58bfe3ff5 (diff)
octoi_srv_fsm: fix implicit fall-through
Found by gcc (Debian 10.2.1-6) 10.2.1 20210110, which fails the build with --enable-werror because of this. Change-Id: Ib717df376a4b414f787168c2c632f04f0c51271b
Diffstat (limited to 'src')
-rw-r--r--src/octoi/octoi_srv_fsm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/octoi/octoi_srv_fsm.c b/src/octoi/octoi_srv_fsm.c
index 469436e..cda0e52 100644
--- a/src/octoi/octoi_srv_fsm.c
+++ b/src/octoi/octoi_srv_fsm.c
@@ -131,6 +131,7 @@ static void srv_st_init(struct osmo_fsm_inst *fi, uint32_t event, void *data)
case ACCOUNT_MODE_NONE:
LOGPFSML(fi, LOGL_NOTICE, "User account %s has mode 'none', rejecting\n",
acc->user_id);
+ /* fall through */
default:
st->rej_str = "Unsupported mode for user";
goto reject;