diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-01-18 19:41:56 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-01-18 19:41:56 +0000 |
commit | e2868b57885dac8a36593e2154c808038adc4cef (patch) | |
tree | edb1421b5b3d4340a0e2538b996393874575b5f6 /ext/ingres_ii/ii.c | |
parent | 72b356c1bccb511e9a3414cbfe6ff25b5a20b91f (diff) | |
download | php-git-e2868b57885dac8a36593e2154c808038adc4cef.tar.gz |
Removed pointless memory allocation checks.
Diffstat (limited to 'ext/ingres_ii/ii.c')
-rw-r--r-- | ext/ingres_ii/ii.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/ingres_ii/ii.c b/ext/ingres_ii/ii.c index 8c1c3d4fb0..55e0c718df 100644 --- a/ext/ingres_ii/ii.c +++ b/ext/ingres_ii/ii.c @@ -1067,9 +1067,7 @@ static void php_ii_fetch(INTERNAL_FUNCTION_PARAMETERS, II_LINK *ii_link, int res int len, should_copy, correct_length; /* array initialization */ - if (array_init(return_value) == FAILURE) { - RETURN_FALSE; - } + array_init(return_value); /* going through all fields */ for (i = 1; i <= ii_link->fieldCount;) { |