com php-src: Missed removing a couple of _len vars: ext /imap/php_imap.c
| From: | Rasmus Lerdorf | Date: | Wed, 21 Jan 2015 06:41:18 +0000 |
| Subject: | com php-src: Missed removing a couple of _len vars: ext /imap/php_imap.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84251@lists.php.net to get a copy of this message | ||
Commit: c2465211af91fa4a81498ee3e149533b8e792329
Author: Rasmus Lerdorf <rasmus@lerdorf.com> Tue, 20 Jan 2015 22:41:18 -0800
Parents: fa06343d7e0e04f4a660218f6dbb7ce18c3f090b
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c2465211af91fa4a81498ee3e149533b8e792329
Log:
Missed removing a couple of _len vars
Changed paths:
M ext/imap/php_imap.c
Diff:
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c
index f1b8da2..242944e 100644
--- a/ext/imap/php_imap.c
+++ b/ext/imap/php_imap.c
@@ -1715,7 +1715,7 @@ PHP_FUNCTION(imap_mail_copy)
zval *streamind;
zend_long options = 0;
zend_string *seq, *folder;
- int seq_len, folder_len, argc = ZEND_NUM_ARGS();
+ int argc = ZEND_NUM_ARGS();
pils *imap_le_struct;
if (zend_parse_parameters(argc, "rSS|l", &streamind, &seq, &folder,
&options) == FAILURE) {
@@ -2388,7 +2388,7 @@ PHP_FUNCTION(imap_savebody)
pils *imap_ptr = NULL;
php_stream *writer = NULL;
zend_string *section = NULL;
- int section_len = 0, close_stream = 1;
+ int close_stream = 1;
zend_long msgno, flags = 0;
if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "rzl|Sl", &stream, &out,
&msgno, §ion, &flags)) {
@@ -2508,7 +2508,6 @@ PHP_FUNCTION(imap_binary)
{
zend_string *text;
char *decode;
- int text_len;
unsigned long newlength;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &text) == FAILURE) {