mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- Remove unneeded object_init(return_value) from three places
This commit is contained in:
parent
3f43d41ba6
commit
c88ccc49a1
1 changed files with 0 additions and 3 deletions
|
@ -1975,7 +1975,6 @@ PHP_FUNCTION(imap_base64)
|
|||
}
|
||||
|
||||
convert_to_string_ex(text);
|
||||
object_init(return_value);
|
||||
|
||||
decode = (char *) rfc822_base64((unsigned char *) Z_STRVAL_PP(text), Z_STRLEN_PP(text), &newlength);
|
||||
RETVAL_STRINGL(decode, newlength, 1);
|
||||
|
@ -1997,7 +1996,6 @@ PHP_FUNCTION(imap_qprint)
|
|||
}
|
||||
|
||||
convert_to_string_ex(text);
|
||||
object_init(return_value);
|
||||
|
||||
decode = (char *) rfc822_qprint((unsigned char *) Z_STRVAL_PP(text), Z_STRLEN_PP(text), &newlength);
|
||||
RETVAL_STRINGL(decode, newlength, 1);
|
||||
|
@ -2019,7 +2017,6 @@ PHP_FUNCTION(imap_8bit)
|
|||
}
|
||||
|
||||
convert_to_string_ex(text);
|
||||
object_init(return_value);
|
||||
|
||||
decode = (char *) rfc822_8bit((unsigned char *) Z_STRVAL_PP(text), Z_STRLEN_PP(text), &newlength);
|
||||
RETVAL_STRINGL(decode, newlength, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue