mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Remove not necessary checks
This commit is contained in:
parent
f05baec0db
commit
33097bcff6
1 changed files with 2 additions and 3 deletions
|
@ -225,9 +225,8 @@ static int php_curl_option_url(php_curl *ch, const char *url, const int len) /*
|
|||
void _php_curl_verify_handlers(php_curl *ch, int reporterror) /* {{{ */
|
||||
{
|
||||
php_stream *stream;
|
||||
if (!ch || !ch->handlers) {
|
||||
return;
|
||||
}
|
||||
|
||||
ZEND_ASSERT(ch && ch->handlers);
|
||||
|
||||
if (!Z_ISUNDEF(ch->handlers->std_err)) {
|
||||
stream = (php_stream *)zend_fetch_resource2_ex(&ch->handlers->std_err, NULL, php_file_le_stream(), php_file_le_pstream());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue