summaryrefslogtreecommitdiff
path: root/ext/pspell/pspell.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-01-18 19:28:10 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-01-18 19:28:10 +0000
commit72b356c1bccb511e9a3414cbfe6ff25b5a20b91f (patch)
treeb5ac19d75d629c064e8e68bd3182b594760f33be /ext/pspell/pspell.c
parent94c25df5923aa6d91c0431fdde940afd3d843f08 (diff)
downloadphp-git-72b356c1bccb511e9a3414cbfe6ff25b5a20b91f.tar.gz
Removed pointless memory allocation checks.
Diffstat (limited to 'ext/pspell/pspell.c')
-rw-r--r--ext/pspell/pspell.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/pspell/pspell.c b/ext/pspell/pspell.c
index 9945c8ddbf..15010eb7b0 100644
--- a/ext/pspell/pspell.c
+++ b/ext/pspell/pspell.c
@@ -355,9 +355,7 @@ PHP_FUNCTION(pspell_suggest)
RETURN_FALSE;
}
- if (array_init(return_value) == FAILURE){
- RETURN_FALSE;
- }
+ array_init(return_value);
wl = pspell_manager_suggest(manager, Z_STRVAL_PP(word));
if(wl){