From: Anatol Belski Date: Wed, 7 Mar 2018 16:12:27 +0000 (+0100) Subject: Remove unused assignment X-Git-Tag: php-7.3.0alpha1~234 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=98aeb528c3d20b12e71e895b960853d56783d9a3;p=php Remove unused assignment --- diff --git a/ext/standard/array.c b/ext/standard/array.c index 50ea6802ae..3e9fb1090a 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -4763,7 +4763,6 @@ static void php_array_intersect(INTERNAL_FUNCTION_PARAMETERS, int behavior, int } else if (behavior & INTERSECT_ASSOC) { /* triggered also when INTERSECT_KEY */ /* INTERSECT_KEY is subset of INTERSECT_ASSOC. When having the former * no comparison of the data is done (part of INTERSECT_ASSOC) */ - intersect_key_compare_func = php_array_key_compare_string; if (data_compare_type == INTERSECT_COMP_DATA_INTERNAL && key_compare_type == INTERSECT_COMP_KEY_INTERNAL) { /* array_intersect_assoc() or array_intersect_key() */