sniper Tue Feb 22 09:46:17 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src/main SAPI.c
Log:
MFH: nuke unused variables when PCRE is not compiled statically into PHP
http://cvs.php.net/diff.php/php-src/main/SAPI.c?r1=1.187.2.2&r2=1.187.2.3&ty=u
Index: php-src/main/SAPI.c
diff -u php-src/main/SAPI.c:1.187.2.2 php-src/main/SAPI.c:1.187.2.3
--- php-src/main/SAPI.c:1.187.2.2 Sun Nov 28 08:34:01 2004
+++ php-src/main/SAPI.c Tue Feb 22 09:46:15 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: SAPI.c,v 1.187.2.2 2004/11/28 13:34:01 sesser Exp $ */
+/* $Id: SAPI.c,v 1.187.2.3 2005/02/22 14:46:15 sniper Exp $ */
#include <ctype.h>
#include <sys/stat.h>
@@ -599,8 +599,6 @@
sapi_update_response_code(302
TSRMLS_CC);
}
} else if (!STRCASECMP(header_line,
"WWW-Authenticate")) { /* HTTP Authentication */
- int newlen;
- char *result, *newheader;
sapi_update_response_code(401 TSRMLS_CC); /*
authentication-required */
@@ -608,8 +606,8 @@
#if (HAVE_PCRE || HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE)
{
zval *repl_temp;
- char *ptr = colon_offset+1;
- int ptr_len=0, result_len = 0;
+ char *ptr = colon_offset+1, *result,
*newheader;
+ int ptr_len=0, result_len = 0, newlen =
0;
/* skip white space */
while (isspace(*ptr)) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php