cvs: php-src /ext/standard exec.c streamsfuncs.c string.c /ext/zlib zlib.c

From: Date: Sun, 11 Jun 2006 20:33:29 +0000
Subject: cvs: php-src /ext/standard exec.c streamsfuncs.c string.c /ext/zlib zlib.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-38687@lists.php.net to get a copy of this message
bjori Sun Jun 11 20:33:29 2006 UTC Modified files: /php-src/ext/zlib zlib.c /php-src/ext/standard string.c streamsfuncs.c exec.c Log: Nuke unused var http://cvs.php.net/viewcvs.cgi/php-src/ext/zlib/zlib.c?r1=1.196&r2=1.197&diff_format=u Index: php-src/ext/zlib/zlib.c diff -u php-src/ext/zlib/zlib.c:1.196 php-src/ext/zlib/zlib.c:1.197 --- php-src/ext/zlib/zlib.c:1.196 Sat Jun 3 11:19:44 2006 +++ php-src/ext/zlib/zlib.c Sun Jun 11 20:33:29 2006 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zlib.c,v 1.196 2006/06/03 11:19:44 mike Exp $ */ +/* $Id: zlib.c,v 1.197 2006/06/11 20:33:29 bjori Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -285,7 +285,7 @@ char *filename; int filename_len; long flags = 0; - char *slashed, buf[8192]; + char buf[8192]; register int i = 0; int use_include_path = 0; php_stream *stream; http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/string.c?r1=1.544&r2=1.545&diff_format=u Index: php-src/ext/standard/string.c diff -u php-src/ext/standard/string.c:1.544 php-src/ext/standard/string.c:1.545 --- php-src/ext/standard/string.c:1.544 Sat Jun 10 15:51:23 2006 +++ php-src/ext/standard/string.c Sun Jun 11 20:33:29 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.544 2006/06/10 15:51:23 iliaa Exp $ */ +/* $Id: string.c,v 1.545 2006/06/11 20:33:29 bjori Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -3520,7 +3520,7 @@ */ PHPAPI UChar *php_u_strtr(UChar *str, int len, UChar *str_from, int str_from_len, UChar *str_to, int str_to_len, int trlen, int *outlen TSRMLS_DC) { - int i, j; + int i; int can_optimize = 1; if ((trlen < 1) || (len < 1)) { http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/streamsfuncs.c?r1=1.77&r2=1.78&diff_format=u Index: php-src/ext/standard/streamsfuncs.c diff -u php-src/ext/standard/streamsfuncs.c:1.77 php-src/ext/standard/streamsfuncs.c:1.78 --- php-src/ext/standard/streamsfuncs.c:1.77 Wed Apr 19 08:43:05 2006 +++ php-src/ext/standard/streamsfuncs.c Sun Jun 11 20:33:29 2006 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: streamsfuncs.c,v 1.77 2006/04/19 08:43:05 tony2001 Exp $ */ +/* $Id: streamsfuncs.c,v 1.78 2006/06/11 20:33:29 bjori Exp $ */ #include "php.h" #include "php_globals.h" @@ -387,7 +387,7 @@ php_stream *stream; zval *zsrc; long maxlen = PHP_STREAM_COPY_ALL, pos = 0; - int len, newlen; + int len; char *contents = NULL; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|ll", &zsrc, &maxlen, &pos) == FAILURE) { http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/exec.c?r1=1.119&r2=1.120&diff_format=u Index: php-src/ext/standard/exec.c diff -u php-src/ext/standard/exec.c:1.119 php-src/ext/standard/exec.c:1.120 --- php-src/ext/standard/exec.c:1.119 Sat Apr 29 14:53:26 2006 +++ php-src/ext/standard/exec.c Sun Jun 11 20:33:29 2006 @@ -16,7 +16,7 @@ | Ilia Alshanetsky <iliaa@php.net> | +----------------------------------------------------------------------+ */ -/* $Id: exec.c,v 1.119 2006/04/29 14:53:26 fmk Exp $ */ +/* $Id: exec.c,v 1.120 2006/06/11 20:33:29 bjori Exp $ */ #include <stdio.h> #include "php.h" @@ -59,7 +59,7 @@ int php_exec(int type, char *cmd, zval *array, zval *return_value TSRMLS_DC) { FILE *fp; - char *buf, *tmp=NULL; + char *buf; int l, pclose_return; char *cmd_p, *b, *d=NULL; php_stream *stream;

« previous php.cvs (#38687) next »