| Index: nspr/pr/src/pthreads/ptthread.c
|
| diff --git a/nspr/pr/src/pthreads/ptthread.c b/nspr/pr/src/pthreads/ptthread.c
|
| index 16d06f6559bbe370abb68b6321d8b14b8e037f99..de90e4d39fdf4485f42240665db5ee913d162f05 100644
|
| --- a/nspr/pr/src/pthreads/ptthread.c
|
| +++ b/nspr/pr/src/pthreads/ptthread.c
|
| @@ -680,7 +680,7 @@ PR_IMPLEMENT(PRThreadPriority) PR_GetThreadPriority(const PRThread *thred)
|
|
|
| PR_IMPLEMENT(void) PR_SetThreadPriority(PRThread *thred, PRThreadPriority newPri)
|
| {
|
| - PRIntn rv = -1;
|
| + PRIntn rv;
|
|
|
| PR_ASSERT(NULL != thred);
|
|
|
| @@ -736,6 +736,8 @@ PR_IMPLEMENT(void) PR_SetThreadPriority(PRThread *thred, PRThreadPriority newPri
|
| errno));
|
| }
|
| }
|
| +#else
|
| + (void)rv; /* rv is unused */
|
| #endif
|
|
|
| thred->priority = newPri;
|
|
|