From 2d7d2aebe667bd48826526269d7b72d3de3ec534 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Tue, 30 May 2006 19:41:04 +0000 Subject: [PATCH] - MFH WS --- Zend/zend_compile.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 4b5410ac72..c9b6c814e9 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -2033,7 +2033,6 @@ static zend_bool do_inherit_method_check(HashTable *child_function_table, zend_f child->common.prototype = parent->common.prototype ? parent->common.prototype : parent; } - if (child->common.prototype) { if (!zend_do_perform_implementation_check(child, child->common.prototype)) { zend_error(E_COMPILE_ERROR, "Declaration of %s::%s() must be compatible with that of %s::%s()", ZEND_FN_SCOPE_NAME(child), child->common.function_name, ZEND_FN_SCOPE_NAME(child->common.prototype), child->common.prototype->common.function_name); -- 2.40.0