Permalink
Browse files

Fixed unused variable warning on *nix.

  • Loading branch information...
1 parent 26f7af2 commit 24793840b24a0e3807cb5b52fe9b35480cc2cc78 Ilia Alshanetsky committed Oct 20, 2003
Showing with 2 additions and 0 deletions.
  1. +2 −0 main/php_ini.c
View
@@ -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;

0 comments on commit 2479384

Please sign in to comment.