fix warnings

This commit is contained in:
Michael Wallner 2015-01-30 22:32:00 +01:00
parent 7a94243402
commit 570ed1a1a4
5 changed files with 13 additions and 3 deletions

View file

@ -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 {