summaryrefslogtreecommitdiff
path: root/ext/ingres_ii/ii.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-01-18 19:41:56 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-01-18 19:41:56 +0000
commite2868b57885dac8a36593e2154c808038adc4cef (patch)
treeedb1421b5b3d4340a0e2538b996393874575b5f6 /ext/ingres_ii/ii.c
parent72b356c1bccb511e9a3414cbfe6ff25b5a20b91f (diff)
downloadphp-git-e2868b57885dac8a36593e2154c808038adc4cef.tar.gz
Removed pointless memory allocation checks.
Diffstat (limited to 'ext/ingres_ii/ii.c')
-rw-r--r--ext/ingres_ii/ii.c4
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;) {