From 98aeb528c3d20b12e71e895b960853d56783d9a3 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Wed, 7 Mar 2018 17:12:27 +0100 Subject: [PATCH] Remove unused assignment --- ext/standard/array.c | 1 - 1 file changed, 1 deletion(-) 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() */ -- 2.50.1