]> granicus.if.org Git - php/commitdiff
remove useless assignment
authorAnatol Belski <ab@php.net>
Thu, 1 Sep 2016 20:52:43 +0000 (22:52 +0200)
committerAnatol Belski <ab@php.net>
Thu, 1 Sep 2016 21:45:31 +0000 (23:45 +0200)
ext/iconv/iconv.c

index 99a24d78bcb1a4faee86729b632ab477ec761757..ab51dd046a584ad39d2402487e4068ced6474b7c 100644 (file)
@@ -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;
                }