diff options
author | kaie%kuix.de <devnull@localhost> | 2008-01-08 15:36:37 +0000 |
---|---|---|
committer | kaie%kuix.de <devnull@localhost> | 2008-01-08 15:36:37 +0000 |
commit | 90f9daf8ed14055a04d64afd3e8c558a48be0afb (patch) | |
tree | aca370f1935313788a58514a6be2dfd1c95cc95f | |
parent | c7f6a54e8af84b2e7c8743f91f021d4adfe9d6e2 (diff) | |
download | nspr-hg-90f9daf8ed14055a04d64afd3e8c558a48be0afb.tar.gz |
Bug 411045, Warning: unused variable 'me' in PR_EnumerateThreads
Patch contributed by Jesse Ruderman
r=wtc
-rw-r--r-- | pr/src/pthreads/ptthread.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pr/src/pthreads/ptthread.c b/pr/src/pthreads/ptthread.c index ce319809..4e03fedf 100644 --- a/pr/src/pthreads/ptthread.c +++ b/pr/src/pthreads/ptthread.c @@ -1208,7 +1208,12 @@ PR_IMPLEMENT(PRStatus) PR_EnumerateThreads(PREnumerator func, void *arg) PRIntn count = 0; PRStatus rv = PR_SUCCESS; PRThread* thred = pt_book.first; + +#if defined(DEBUG) || defined(FORCE_PR_ASSERT) +#if !defined(_PR_DCETHREADS) PRThread *me = PR_GetCurrentThread(); +#endif +#endif PR_LOG(_pr_gc_lm, PR_LOG_ALWAYS, ("Begin PR_EnumerateThreads\n")); /* |