From: Alan T. DeKok Date: Wed, 19 Oct 2011 15:10:12 +0000 (+0200) Subject: Add FALL-THROUGH for 'case' without 'break' X-Git-Tag: release_2_2_0~296 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c4bdd61d15c477301c14221642ee84ff9791d41;p=thirdparty%2Ffreeradius-server.git Add FALL-THROUGH for 'case' without 'break' --- diff --git a/src/main/event.c b/src/main/event.c index 50907471aaa..815c759f74b 100644 --- a/src/main/event.c +++ b/src/main/event.c @@ -1284,6 +1284,7 @@ static void wait_a_bit(void *ctx) request->child_pid = NO_SUCH_CHILD_PID; #endif request_stats_final(request); + /* FALL-THROUGH */ case REQUEST_PROXIED: rad_assert(request->next_callback != NULL); @@ -2450,6 +2451,7 @@ static void request_post_handler(REQUEST *request) return; } } + /* FALL-THROUGH */ #ifdef WITH_COA case PW_COA_REQUEST: @@ -2899,6 +2901,8 @@ int received_request(rad_listen_t *listener, case REQUEST_REJECT_DELAY: case REQUEST_CLEANUP_DELAY: request->child_state = REQUEST_DONE; + /* FALL-THROUGH */ + case REQUEST_DONE: cleanup_delay(request); request = NULL;