summaryrefslogtreecommitdiff
path: root/ext/pspell/pspell.c
diff options
context:
space:
mode:
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){