mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 10:33:33 +00:00
Warning fix.
This commit is contained in:
parent
74a91f99c1
commit
085ece7010
@ -802,7 +802,7 @@ date_parseString(JSString *str, jsdouble *result)
|
||||
ii. If m >= 70, the date is invalid.
|
||||
*/
|
||||
if (seenmonthname) {
|
||||
if (mday >= 70 && year >= 70 || mday < 70 && year < 70) {
|
||||
if ((mday >= 70 && year >= 70) || (mday < 70 && year < 70)) {
|
||||
goto syntax;
|
||||
}
|
||||
if (mday > year) {
|
||||
|
Loading…
Reference in New Issue
Block a user