1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 18:53:33 +02:00

Nuke unused var

This commit is contained in:
Hannes Magnusson
2006-06-11 20:33:29 +00:00
parent 9f786b9eff
commit 53d262c04d
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -387,7 +387,7 @@ PHP_FUNCTION(stream_get_contents)
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) {
+1 -1
View File
@@ -3520,7 +3520,7 @@ PHPAPI char *php_strtr(char *str, int len, char *str_from, char *str_to, int trl
*/
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)) {
+1 -1
View File
@@ -285,7 +285,7 @@ PHP_FUNCTION(gzfile)
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;