зеркало из https://github.com/mozilla/pjs.git
rename variable to avoid warnings on linux.
time is globally defined.
This commit is contained in:
Родитель
f4f48dc43c
Коммит
e97690072d
|
@ -48,10 +48,10 @@ public:
|
|||
* Construct the time from a string.
|
||||
*/
|
||||
nsTime(const char* dateStr, PRBool defaultToGMT) {
|
||||
PRInt64 time;
|
||||
PRStatus status = PR_ParseTimeString(dateStr, defaultToGMT, &time);
|
||||
PRInt64 theTime;
|
||||
PRStatus status = PR_ParseTimeString(dateStr, defaultToGMT, &theTime);
|
||||
if (status == PR_SUCCESS)
|
||||
mValue = time;
|
||||
mValue = theTime;
|
||||
else
|
||||
mValue = LL_ZERO;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче