]> granicus.if.org Git - php/commitdiff
Simplify code.
authorIlia Alshanetsky <iliaa@php.net>
Sun, 30 Oct 2005 13:48:30 +0000 (13:48 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sun, 30 Oct 2005 13:48:30 +0000 (13:48 +0000)
ext/standard/array.c

index b00934bfc6f096cfe2a73d35e540d5f921896c49..0de18fae2aafa5b2d759461fbe850597ea393684 100644 (file)
@@ -3999,7 +3999,6 @@ PHP_FUNCTION(array_product)
        
        if (!zend_hash_num_elements(Z_ARRVAL_PP(input))) {
                RETURN_LONG(0);
-               return;
        }
        ZVAL_LONG(return_value, 1);