From ffa99a1ebbe4b02a06e711a4d1817b35a89feb22 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 2 Apr 2010 13:48:44 -0700 Subject: Also the default case should have a break statement --- gatchat/gatppp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c index 67aa3d95..6c846025 100644 --- a/gatchat/gatppp.c +++ b/gatchat/gatppp.c @@ -198,9 +198,10 @@ static void ppp_recv(GAtPPP *ppp, struct frame_buffer *frame) ppp->auth->process_packet(ppp->auth, packet); break; } - /* Otherwise fall through */ + /* fall through */ default: lcp_protocol_reject(ppp->lcp, frame->bytes, frame->len); + break; }; g_free(frame); -- cgit v1.2.3