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:
+1
-1
@@ -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;
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user