sniper          Tue Feb 22 09:46:24 2005 EDT

  Modified files:              (Branch: PHP_4_3)
    /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.155.2.23&r2=1.155.2.24&ty=u
Index: php-src/main/SAPI.c
diff -u php-src/main/SAPI.c:1.155.2.23 php-src/main/SAPI.c:1.155.2.24
--- php-src/main/SAPI.c:1.155.2.23      Mon Feb 21 07:29:02 2005
+++ php-src/main/SAPI.c Tue Feb 22 09:46:24 2005
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: SAPI.c,v 1.155.2.23 2005/02/21 12:29:02 stas Exp $ */
+/* $Id: SAPI.c,v 1.155.2.24 2005/02/22 14:46:24 sniper Exp $ */
 
 #include <ctype.h>
 #include <sys/stat.h>
@@ -595,8 +595,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 */
 
@@ -604,8 +602,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

Reply via email to