com php-src: This couldn't be false as it has been checked before: ext/standard/array.c
| From: | Reeze Xia | Date: | Fri, 30 Oct 2015 11:50:54 +0000 |
| Subject: | com php-src: This couldn't be false as it has been checked before: ext/standard/array.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-89572@lists.php.net to get a copy of this message | ||
Commit: c4297a5a2949c11a8f49bc90a661ba74f2f03f03
Author: Reeze Xia <reeze@php.net> Fri, 30 Oct 2015 19:50:54 +0800
Parents: 68b431e37d680a6d071bfaf1129ef7a4caa228ea
Branches: PHP-7.0
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c4297a5a2949c11a8f49bc90a661ba74f2f03f03
Log:
This couldn't be false as it has been checked before
Changed paths:
M ext/standard/array.c
Diff:
diff --git a/ext/standard/array.c b/ext/standard/array.c
index a02a33b..a327da8 100644
--- a/ext/standard/array.c
+++ b/ext/standard/array.c
@@ -163,7 +163,7 @@ static int php_array_key_compare(const void *a, const void *b) /* {{{ */
l2 = 0;
}
}
- } else if (f->key) {
+ } else {
if (s->key) {
return zendi_smart_strcmp(f->key, s->key);
} else {