summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-05-04 17:32:01 +0000
committerSascha Schumann <sas@php.net>2002-05-04 17:32:01 +0000
commit7e05237ed4d8409a58f1561c9cf8304769928e66 (patch)
tree796cc20c97ac5d64f1f5022a965543f067725d0a
parent1ed3f698fe4a6c02fb524b9a4c4586c3460f99c3 (diff)
downloadphp-git-7e05237ed4d8409a58f1561c9cf8304769928e66.tar.gz
call_result is set but never used
-rw-r--r--main/user_streams.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/main/user_streams.c b/main/user_streams.c
index faa68bcb89..782a794f33 100644
--- a/main/user_streams.c
+++ b/main/user_streams.c
@@ -347,14 +347,13 @@ static int php_userstreamop_close(php_stream *stream, int close_handle TSRMLS_DC
{
zval func_name;
zval *retval = NULL;
- int call_result;
php_userstream_data_t *us = (php_userstream_data_t *)stream->abstract;
assert(us != NULL);
ZVAL_STRINGL(&func_name, USERSTREAM_CLOSE, sizeof(USERSTREAM_CLOSE)-1, 0);
- call_result = call_user_function_ex(NULL,
+ call_user_function_ex(NULL,
&us->object,
&func_name,
&retval,
@@ -460,7 +459,6 @@ static char *php_userstreamop_gets(php_stream *stream, char *buf, size_t size TS
zval *retval = NULL;
zval *zcount;
zval **args[2];
- int call_result;
size_t didread = 0;
php_userstream_data_t *us = (php_userstream_data_t *)stream->abstract;
@@ -474,7 +472,7 @@ static char *php_userstreamop_gets(php_stream *stream, char *buf, size_t size TS
ZVAL_LONG(zcount, size);
args[0] = &zcount;
- call_result = call_user_function_ex(NULL,
+ call_user_function_ex(NULL,
&us->object,
&func_name,
&retval,