diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2003-01-30 02:33:16 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2003-01-30 02:33:16 +0000 |
| commit | 453368afdffaa2017c22f75f72b736a3b3cb510a (patch) | |
| tree | 9110d98320549877fbcf1d61bd1e66b550124f91 /ext/mcal/php_mcal.c | |
| parent | e3672e49fc70e3d26b046d062cf3acc6dd06e54a (diff) | |
| download | php-git-453368afdffaa2017c22f75f72b736a3b3cb510a.tar.gz | |
Removed pointless checks.
Diffstat (limited to 'ext/mcal/php_mcal.c')
| -rw-r--r-- | ext/mcal/php_mcal.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/mcal/php_mcal.c b/ext/mcal/php_mcal.c index 0c73edb383..6ecd3a5419 100644 --- a/ext/mcal/php_mcal.c +++ b/ext/mcal/php_mcal.c @@ -1367,9 +1367,7 @@ PHP_FUNCTION(mcal_next_recurrence) calevent_next_recurrence(mcal_le_struct->event, &mydate, Z_LVAL_PP(weekstart)); - if (object_init(return_value) == FAILURE) { - RETURN_FALSE; - } + object_init(return_value); if (mydate.has_date) { add_property_long(return_value, "year", mydate.year); |
