summaryrefslogtreecommitdiff
path: root/ext/date/php_date.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/php_date.c')
-rw-r--r--ext/date/php_date.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
index ebcfea7d00..541fdafea3 100644
--- a/ext/date/php_date.c
+++ b/ext/date/php_date.c
@@ -4736,8 +4736,7 @@ PHP_METHOD(DatePeriod, getDateInterval)
*/
PHP_METHOD(DatePeriod, getRecurrences)
{
- php_period_obj *dpobj;
- php_date_obj *dateobj;
+ php_period_obj *dpobj;
if (zend_parse_parameters_none() == FAILURE) {
return;