fix some warnings
[m6w6/ext-http] / php_http_params.c
index b056048018de5dbb038acdccba96f27805ca92c8..e4d4a6fb88c7a78a6febf9988feca22c52b10423 100644 (file)
@@ -129,6 +129,7 @@ PHP_HTTP_API STATUS php_http_params_parse(const char *param, int flags, php_http
                                                if (flags & PHP_HTTP_PARAMS_ALLOW_COMMA) {
                                                        goto add;
                                                }
+                                               /* fallthrough */
                                        default:
                                                if (!val) {
                                                        val = c;
@@ -143,6 +144,7 @@ PHP_HTTP_API STATUS php_http_params_parse(const char *param, int flags, php_http
                                                if (flags & PHP_HTTP_PARAMS_ALLOW_COMMA) {
                                                        goto allow_comma;
                                                }
+                                               /* fallthrough */
                                        case '\r':
                                        case '\n':
                                        case '\t':