com php-src: there can be only one ... of the identical expressions: ext/standard/html.c
| From: | Anatol Belski | Date: | Fri, 19 Sep 2014 07:26:07 +0000 |
| Subject: | com php-src: there can be only one ... of the identical expressions: ext/standard/html.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81762@lists.php.net to get a copy of this message | ||
Commit: 6fab9079209ac6152f858d24a074d2447c6694df
Author: Anatol Belski <ab@php.net> Fri, 19 Sep 2014 09:26:07 +0200
Parents: f25f672916500a209f98ec6b7b342794a065ea7f
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6fab9079209ac6152f858d24a074d2447c6694df
Log:
there can be only one ... of the identical expressions
Changed paths:
M ext/standard/html.c
Diff:
diff --git a/ext/standard/html.c b/ext/standard/html.c
index a7c58d5..95543ee 100644
--- a/ext/standard/html.c
+++ b/ext/standard/html.c
@@ -394,7 +394,6 @@ static enum entity_charset determine_charset(char *charset_hint TSRMLS_DC)
if (charset_hint != NULL && (len=strlen(charset_hint)) != 0) {
if ((len == 4) /* sizeof (none|auto|pass) */ &&
(!memcmp("pass", charset_hint, 4) ||
- !memcmp("auto", charset_hint, 4) ||
!memcmp("auto", charset_hint, 4))) {
charset_hint = NULL;
len = 0;