cvs: php-src(PHP_5_3) /sapi/cgi cgi_main.c
| From: | Pierre-Alain Joye | Date: | Wed, 17 Jun 2009 19:28:53 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /sapi/cgi cgi_main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-58808@lists.php.net to get a copy of this message | ||
pajoye Wed Jun 17 19:28:53 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/sapi/cgi cgi_main.c
Log:
- kill unused var
http://cvs.php.net/viewvc.cgi/php-src/sapi/cgi/cgi_main.c?r1=1.267.2.15.2.50.2.42&r2=1.267.2.15.2.50.2.43&diff_format=u
Index: php-src/sapi/cgi/cgi_main.c
diff -u php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.50.2.42
php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.50.2.43
--- php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.50.2.42 Wed Jun 17 19:22:24 2009
+++ php-src/sapi/cgi/cgi_main.c Wed Jun 17 19:28:52 2009
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: cgi_main.c,v 1.267.2.15.2.50.2.42 2009/06/17 19:22:24 pajoye Exp $ */
+/* $Id: cgi_main.c,v 1.267.2.15.2.50.2.43 2009/06/17 19:28:52 pajoye Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -724,7 +724,6 @@
/* Check whether cache entry has expired and rescan if it is */
if (request_time > entry->expires) {
- int skip = 0; /* Skip the path as it is not part of the DOCUMENT_ROOT */
char * real_path;
int real_path_len;
char *s1, *s2;
@@ -763,7 +762,6 @@
ptr++;
}
} else {
- skip = 1;
php_parse_user_ini_file(path, PG(user_ini_filename), entry->user_config TSRMLS_CC);
}