com php-src: remove useless assignment: ext/iconv/iconv.c
| From: | Anatol Belski | Date: | Thu, 01 Sep 2016 21:45:31 +0000 |
| Subject: | com php-src: remove useless assignment: ext/iconv/iconv.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-94237@lists.php.net to get a copy of this message | ||
Commit: a9890918801f867b0e7ab9996c51312581512c48
Author: Anatol Belski <ab@php.net> Thu, 1 Sep 2016 22:52:43 +0200
Parents: 0382a64fdff04207480586ad8ec1a0b0f47fc46e
Branches: PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a9890918801f867b0e7ab9996c51312581512c48
Log:
remove useless assignment
Changed paths:
M ext/iconv/iconv.c
Diff:
diff --git a/ext/iconv/iconv.c b/ext/iconv/iconv.c
index 99a24d7..ab51dd0 100644
--- a/ext/iconv/iconv.c
+++ b/ext/iconv/iconv.c
@@ -720,7 +720,6 @@ PHP_ICONV_API php_iconv_err_t php_iconv_string(const char *in_p, size_t in_len,
default:
/* other error */
- retval = PHP_ICONV_ERR_UNKNOWN;
zend_string_free(out_buf);
return PHP_ICONV_ERR_UNKNOWN;
}