osmith has uploaded this change for review.
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
---
M src/octoi/octoi_srv_fsm.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/75/28575/1
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 @@
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;
To view, visit change 28575. To unsubscribe, or for help writing mail filters, visit settings.