We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b03846 commit 80d33b2Copy full SHA for 80d33b2
main/php_network.h
@@ -207,11 +207,13 @@ PHPAPI void _php_emit_fd_setsize_warning(int max_fd);
207
static inline bool _php_check_fd_setsize(php_socket_t *max_fd, int setsize)
208
{
209
#ifdef PHP_WIN32
210
+ (void)(max_fd); // Unused
211
if (setsize + 1 >= FD_SETSIZE) {
212
_php_emit_fd_setsize_warning(setsize);
213
return false;
214
}
215
#else
216
+ (void)(setsize); // Unused
217
if (*max_fd >= FD_SETSIZE) {
218
_php_emit_fd_setsize_warning(*max_fd);
219
*max_fd = FD_SETSIZE - 1;
0 commit comments