diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2017-07-11 10:44:15 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2017-07-11 10:44:15 -0700 |
commit | 3472aa67a633e5a9b31b45bd8f5606babeda502f (patch) | |
tree | 951055e643495efa69c8a1b77c48d9a9f2641184 /gatchat/ppp_ipcp.c | |
parent | 9cdcf729949bc66e3ec46d1a87fa878ecf183fa4 (diff) | |
download | ofono-3472aa67a633e5a9b31b45bd8f5606babeda502f.tar.gz |
gatchat: Reword the fall through cases to avoid compiler warnings
Diffstat (limited to 'gatchat/ppp_ipcp.c')
-rw-r--r-- | gatchat/ppp_ipcp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gatchat/ppp_ipcp.c b/gatchat/ppp_ipcp.c index 439ad31b..125a5429 100644 --- a/gatchat/ppp_ipcp.c +++ b/gatchat/ppp_ipcp.c @@ -401,9 +401,11 @@ static enum rcr_result ipcp_client_rcr(struct ipcp_data *ipcp, break; /* - * Fall through, reject IP_ADDRESS if peer sends - * us 0 (expecting us to provide its IP address) + * Reject IP_ADDRESS if peer sends us 0 (expecting + * us to provide its IP address) */ + + /* fall through */ default: if (options == NULL) { guint16 max_len = ntohs(packet->length) - 4; |