php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64711 "value computed but not used" in parse_date.c
Submitted: 2013-04-25 18:21 UTC Modified: -
From: sixd@php.net Assigned:
Status: Closed Package: Date/time related
PHP Version: 5.5.0beta4 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sixd@php.net
New email:
PHP Version: OS:

 

 [2013-04-25 18:21 UTC] sixd@php.net
Description:
------------
The "*ptr++" in parse_date.re:2099 results in the compilation warning:

/home/cjones/Desktop/php-5.5.0beta4/ext/date/lib/parse_date.c: In function 
‘timelib_parse_from_format’:
/home/cjones/Desktop/php-5.5.0beta4/ext/date/lib/parse_date.c:24994:5: warning: 
value computed is not used [-Wunused-value]

I guess the code should have been simply "fptr++".


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-04-26 10:41 UTC] dsp@php.net
Automatic comment on behalf of dsp
Revision: http://git.php.net/?p=php-src.git;a=commit;h=b86c85723ed0dfec8197821ecb9e5dc84c3dd1f7
Log: Fix #64711 ("value computed but not used" in parse_date.c)
 [2013-04-26 10:41 UTC] dsp@php.net
-Status: Open +Status: Closed
 [2013-11-17 09:31 UTC] laruence@php.net
Automatic comment on behalf of dsp
Revision: http://git.php.net/?p=php-src.git;a=commit;h=b86c85723ed0dfec8197821ecb9e5dc84c3dd1f7
Log: Fix #64711 ("value computed but not used" in parse_date.c)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Oct 11 17:01:27 2024 UTC