зеркало из https://github.com/mozilla/pjs.git
Bug 355717: #if is always true or function does not return a value, patch by Ryan Jones <sciguyryan+bugzilla@gmail.com>, r=brendan
This commit is contained in:
Родитель
d687b48a54
Коммит
2472862233
|
@ -89,7 +89,6 @@ static void PRMJ_basetime(JSInt64 tsecs, PRMJTime *prtm);
|
|||
JSInt32
|
||||
PRMJ_LocalGMTDifference()
|
||||
{
|
||||
#if defined(XP_UNIX) || defined(XP_WIN) || defined(XP_OS2) || defined(XP_BEOS)
|
||||
struct tm ltime;
|
||||
|
||||
/* get the difference between this time zone and GMT */
|
||||
|
@ -103,7 +102,6 @@ PRMJ_LocalGMTDifference()
|
|||
#else
|
||||
return mktime(<ime) - (24L * 3600L);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Constants for GMT offset from 1970 */
|
||||
|
|
Загрузка…
Ссылка в новой задаче