[php-src] PR #13678: Fix defined but not used warnings
| From: | petk | Date: | Mon, 11 Mar 2024 22:58:04 +0000 |
| Subject: | [php-src] PR #13678: Fix defined but not used warnings | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25379@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13678
Author: petk
This fixes two warnings when building litespeed SAPI:
```
.../php-src/sapi/litespeed/lscriu.c:312:14: warning:
'LSCRIU_Error_File_Name' defined but not used
[-Wunused-function]
312 | static char *LSCRIU_Error_File_Name(char *pchFile, int max_len)
| ^~~~~~~~~~~~~~~~~~~~~~
.../php-src/sapi/litespeed/lscriu.c:102:12: warning:
's_criu_debug' defined but not used [-Wunused-variable]
102 | static int s_criu_debug = 0;
| ^~~~~~~~~~~~
```