summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrinivas%netscape.com <devnull@localhost>1999-12-22 21:24:34 +0000
committersrinivas%netscape.com <devnull@localhost>1999-12-22 21:24:34 +0000
commit59871eb0f947cebecc9f734b5dfaafcde8e68457 (patch)
tree4bc4ab1c6f97606caf4fd013f8f5f34fddc6df6e
parent088f5161ba47bc4404122d8071abe7ca398cb5c1 (diff)
downloadnspr-hg-59871eb0f947cebecc9f734b5dfaafcde8e68457.tar.gz
Fixed use of uninitialized variable. Bugzilla #21201.
-rw-r--r--pr/src/threads/combined/pruthr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pr/src/threads/combined/pruthr.c b/pr/src/threads/combined/pruthr.c
index 77d5a87b..0025bcbb 100644
--- a/pr/src/threads/combined/pruthr.c
+++ b/pr/src/threads/combined/pruthr.c
@@ -1259,6 +1259,7 @@ PR_IMPLEMENT(PRThread*) _PR_CreateThread(PRThreadType type,
}
thread->threadAllocatedOnStack = 0;
stack = NULL;
+ top = NULL;
#endif
/* Initialize thread */