summaryrefslogtreecommitdiff
path: root/ext/standard/array.c
diff options
context:
space:
mode:
authorNuno Lopes <nlopess@php.net>2008-09-23 15:18:26 +0000
committerNuno Lopes <nlopess@php.net>2008-09-23 15:18:26 +0000
commit8a77e55566f13cd9d17909aac705ab79e9d35953 (patch)
treef1530fd6df61524be5dbce319b2fd782240283a2 /ext/standard/array.c
parenta1d2b4d9407e654e085b2dfae30de9caf82b8715 (diff)
downloadphp-git-8a77e55566f13cd9d17909aac705ab79e9d35953.tar.gz
clean some dead code (with static analysis help)
Diffstat (limited to 'ext/standard/array.c')
-rw-r--r--ext/standard/array.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/standard/array.c b/ext/standard/array.c
index 9b12c27b14..e4d72a8acf 100644
--- a/ext/standard/array.c
+++ b/ext/standard/array.c
@@ -3347,7 +3347,6 @@ static void php_array_diff(INTERNAL_FUNCTION_PARAMETERS, int behavior, int data_
} else if (behavior & DIFF_ASSOC) { /* triggered also if DIFF_KEY */
/* DIFF_KEY is subset of DIFF_ASSOC. When having the former
* no comparison of the data is done (part of DIFF_ASSOC) */
- diff_key_compare_func = php_array_key_compare;
if (data_compare_type == DIFF_COMP_DATA_INTERNAL && key_compare_type == DIFF_COMP_KEY_INTERNAL) {
/* array_diff_assoc() or array_diff_key() */