| Index: nspr/pr/src/pthreads/ptio.c
|
| diff --git a/nspr/pr/src/pthreads/ptio.c b/nspr/pr/src/pthreads/ptio.c
|
| index 125f1f93f533d2a4e680a90cdda8ea63e62cf910..e4fe5198bbff359494bcad4bc559ce358b5b1d3d 100644
|
| --- a/nspr/pr/src/pthreads/ptio.c
|
| +++ b/nspr/pr/src/pthreads/ptio.c
|
| @@ -3765,7 +3765,7 @@ static PRInt32 _pr_poll_with_poll(
|
| * We use these variables to figure out how much time has
|
| * elapsed and how much of the timeout still remains.
|
| */
|
| - PRIntervalTime start, elapsed, remaining;
|
| + PRIntervalTime start = 0, elapsed, remaining;
|
|
|
| if (pt_TestAbort()) return -1;
|
|
|
| @@ -4019,7 +4019,7 @@ static PRInt32 _pr_poll_with_select(
|
| * We use these variables to figure out how much time has
|
| * elapsed and how much of the timeout still remains.
|
| */
|
| - PRIntervalTime start, elapsed, remaining;
|
| + PRIntervalTime start = 0, elapsed, remaining;
|
|
|
| if (pt_TestAbort()) return -1;
|
|
|
| @@ -4919,7 +4919,7 @@ PR_IMPLEMENT(PRInt32) PR_Select(
|
| * We use these variables to figure out how much time has elapsed
|
| * and how much of the timeout still remains.
|
| */
|
| - PRIntervalTime start, elapsed, remaining;
|
| + PRIntervalTime start = 0, elapsed, remaining;
|
|
|
| static PRBool unwarned = PR_TRUE;
|
| if (unwarned) unwarned = _PR_Obsolete( "PR_Select", "PR_Poll");
|
|
|