diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-01-18 20:27:05 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-01-18 20:27:05 +0000 |
commit | c794f2c710cf4b3701737f30a7d19a14297de8a1 (patch) | |
tree | e928b08a6c3ec5138b427b903b1e8626acc78778 /sapi/apache_hooks | |
parent | 984c0918ab9ea57077af09741a0a739533f1ffbb (diff) | |
download | php-git-c794f2c710cf4b3701737f30a7d19a14297de8a1.tar.gz |
Removed pointless memory allocation checks.
Diffstat (limited to 'sapi/apache_hooks')
-rw-r--r-- | sapi/apache_hooks/php_apache.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sapi/apache_hooks/php_apache.c b/sapi/apache_hooks/php_apache.c index 86b2abe900..aabb29835a 100644 --- a/sapi/apache_hooks/php_apache.c +++ b/sapi/apache_hooks/php_apache.c @@ -1754,9 +1754,7 @@ static void apache_table_to_zval(table *t, int safe_mode, zval *return_value) table_entry *tenv; int i; - if (array_init(return_value) == FAILURE) { - RETURN_FALSE; - } + array_init(return_value); env_arr = table_elts(t); tenv = (table_entry *)env_arr->elts; for (i = 0; i < env_arr->nelts; ++i) { |