com php-src: Fix #64711 ("value computed but not used" in parse_date.c): ext/date/lib/parse_date.c ext/da te/lib/parse_date.re

From: Date: Fri, 26 Apr 2013 09:33:54 +0000
Subject: com php-src: Fix #64711 ("value computed but not used" in parse_date.c): ext/date/lib/parse_date.c ext/da te/lib/parse_date.re
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-72042@lists.php.net to get a copy of this message
Commit: b86c85723ed0dfec8197821ecb9e5dc84c3dd1f7 Author: David Soria Parra <dsp@php.net> Fri, 26 Apr 2013 11:33:54 +0200 Parents: 3411fbbc51cbd3e014c0f19d34b89c23ad5ba905 Branches: PHP-5.5 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b86c85723ed0dfec8197821ecb9e5dc84c3dd1f7 Log: Fix #64711 ("value computed but not used" in parse_date.c) Bugs: https://bugs.php.net/64711 Changed paths: M ext/date/lib/parse_date.c M ext/date/lib/parse_date.re Diff: diff --git a/ext/date/lib/parse_date.c b/ext/date/lib/parse_date.c index 9f5593d..8f70748 100644 --- a/ext/date/lib/parse_date.c +++ b/ext/date/lib/parse_date.c @@ -1,4 +1,4 @@ -/* Generated by re2c 0.13.5 on Sun Mar 31 10:47:54 2013 */ +/* Generated by re2c 0.13.5 on Fri Apr 26 11:10:28 2013 */ #line 1 "ext/date/lib/parse_date.re" /* +----------------------------------------------------------------------+ @@ -25089,7 +25089,7 @@ timelib_time *timelib_parse_from_format(char *format, char *string, int len, tim break; case '\\': /* escaped char */ - *fptr++; + ++fptr; if (*ptr == *fptr) { ++ptr; } else { diff --git a/ext/date/lib/parse_date.re b/ext/date/lib/parse_date.re index 8aaa6c3..014f6a0 100644 --- a/ext/date/lib/parse_date.re +++ b/ext/date/lib/parse_date.re @@ -2096,7 +2096,7 @@ timelib_time *timelib_parse_from_format(char *format, char *string, int len, tim break; case '\\': /* escaped char */ - *fptr++; + ++fptr; if (*ptr == *fptr) { ++ptr; } else {

« previous php.cvs (#72042) next »