Skip to content

Commit 9940970

Browse files
b-viguierarnaud-lb
authored andcommitted
Fix compilation warning
1 parent 26c7c82 commit 9940970

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main/php_network.h

+2
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,13 @@ PHPAPI void _php_emit_fd_setsize_warning(int max_fd);
207207
static inline bool _php_check_fd_setsize(php_socket_t *max_fd, int setsize)
208208
{
209209
#ifdef PHP_WIN32
210+
(void)(max_fd); // Unused
210211
if (setsize + 1 >= FD_SETSIZE) {
211212
_php_emit_fd_setsize_warning(setsize);
212213
return false;
213214
}
214215
#else
216+
(void)(setsize); // Unused
215217
if (*max_fd >= FD_SETSIZE) {
216218
_php_emit_fd_setsize_warning(*max_fd);
217219
*max_fd = FD_SETSIZE - 1;

0 commit comments

Comments
 (0)