]> granicus.if.org Git - php/commitdiff
Fixed unused variable warning on *nix.
authorIlia Alshanetsky <iliaa@php.net>
Mon, 20 Oct 2003 02:21:25 +0000 (02:21 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 20 Oct 2003 02:21:25 +0000 (02:21 +0000)
main/php_ini.c

index 2a413fbaaba09676300ece049d9d44057511120b..f4d2d9a0f1254ebb53b5816fccd9f4676e1bc4cf 100644 (file)
@@ -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;