[php-src] PR #14530: Fix fall through warning in sapi/litespeed
| From: | petk | Date: | Mon, 10 Jun 2024 07:03:44 +0000 |
| Subject: | [php-src] PR #14530: Fix fall through warning in sapi/litespeed | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-26614@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14530
Author: petk
This fixes this warning using ZEND_FALLTHROUGH:
```
php-src/sapi/litespeed/lsapi_main.c: In function ‘parse_opt’:
php-src/sapi/litespeed/lsapi_main.c:1196:16: warning: this statement may fall through
[-Wimplicit-fallthrough=]
1196 | if ( *((*(p-1))+2) == 's' )
| ^
```