com php-src: Fix unused variable warning: ext/date/php_date .c

From: Date: Mon, 18 Mar 2019 09:11:00 +0000
Subject: com php-src: Fix unused variable warning: ext/date/php_date .c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-105193@lists.php.net to get a copy of this message
Commit: a573c0e9ed4301916b1ccbae535872b793400f87 Author: Nikita Popov <nikita.ppv@gmail.com> Mon, 18 Mar 2019 10:11:00 +0100 Parents: bd6eabd6591ae5a7c9ad75dfbe7cc575fa907eac Branches: PHP-7.2 PHP-7.3 PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a573c0e9ed4301916b1ccbae535872b793400f87 Log: Fix unused variable warning Changed paths: M ext/date/php_date.c Diff: diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 7d4f9aa...9b37a9e 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -4742,8 +4742,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;

« previous php.cvs (#105193) next »