mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
fix warnings
This commit is contained in:
parent
7a94243402
commit
570ed1a1a4
5 changed files with 13 additions and 3 deletions
|
@ -357,6 +357,10 @@ static void php_load_zend_extension_cb(void *arg)
|
|||
char *filename = *((char **) arg);
|
||||
const int length = (int)strlen(filename);
|
||||
|
||||
#ifndef PHP_WIN32
|
||||
(void) length;
|
||||
#endif
|
||||
|
||||
if (IS_ABSOLUTE_PATH(filename, length)) {
|
||||
zend_load_extension(filename);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue