s4:lib: Add FALL_THROUGH statements in http.c
authorAndreas Schneider <asn@samba.org>
Fri, 13 Oct 2017 09:27:38 +0000 (11:27 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 1 Mar 2018 03:37:44 +0000 (04:37 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/lib/http/http.c

index 659cba0ff140a5bc59f1589ac1466526129e0a19..10b49cd14fee94fd6850675005187aa546391d42 100644 (file)
@@ -117,7 +117,7 @@ static enum http_read_status http_parse_headers(struct http_read_response_state
                                state->parser_state = HTTP_READING_BODY;
                                break;
                        }
-                       /* fall through */
+                       FALL_THROUGH;
                case 0:
                        DEBUG(11, ("%s: Skipping body for code %d\n", __func__,
                                   state->response->response_code));