From: Ilia Alshanetsky Date: Mon, 20 Oct 2003 02:21:25 +0000 (+0000) Subject: Fixed unused variable warning on *nix. X-Git-Tag: RELEASE_1_3b3~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=24793840b24a0e3807cb5b52fe9b35480cc2cc78;p=php Fixed unused variable warning on *nix. --- diff --git a/main/php_ini.c b/main/php_ini.c index 2a413fbaab..f4d2d9a0f1 100644 --- a/main/php_ini.c +++ b/main/php_ini.c @@ -300,7 +300,9 @@ int php_init_config() } else { char *default_location; static const char paths_separator[] = { ZEND_PATHS_SEPARATOR, 0 }; +#ifdef PHP_WIN32 char *reg_location; +#endif php_ini_search_path = (char *) emalloc(MAXPATHLEN * 4 + strlen(env_location) + 3 + 1); free_ini_search_path = 1;