Edit report at https://bugs.php.net/bug.php?id=64711&edit=1

 ID:                 64711
 Updated by:         d...@php.net
 Reported by:        s...@php.net
 Summary:            "value computed but not used" in parse_date.c
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            Date/time related
 Operating System:   Linux
 PHP Version:        5.5.0beta4
 Block user comment: N
 Private report:     N

 New Comment:

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)


Previous Comments:
------------------------------------------------------------------------
[2013-04-25 18:21:12] s...@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++".



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=64711&edit=1

Reply via email to