summaryrefslogtreecommitdiff
path: root/create.c
diff options
context:
space:
mode:
authorrpj <rpj>1999-02-18 01:12:37 +0000
committerrpj <rpj>1999-02-18 01:12:37 +0000
commitb47991f6985f37396bdea6611f464ea7701b012a (patch)
tree329626b177fe29c3529149ab86bfd2d941dc8a42 /create.c
parent4283bb6d921d8ab782cd37ebafe36723a1e0b124 (diff)
Sat Feb 18 16:2s1703:30 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
* Makefile.in: Use libpthread32.a as the name of the DLL export library instead of pthread.lib. * condvar.c (pthread_cond_init): cv could have been used unitialised; initialise. * create.c (pthread_create): parms could have been used unitialised; initialise. Add "Makefile" for people who don't want to (or can't) run ./configure.
Diffstat (limited to 'create.c')
-rw-r--r--create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/create.c b/create.c
index 292097d..f87fa56 100644
--- a/create.c
+++ b/create.c
@@ -56,7 +56,7 @@ pthread_create (pthread_t * tid,
pthread_t thread;
int result = EAGAIN;
int run = TRUE;
- ThreadParms *parms;
+ ThreadParms *parms = NULL;
long stackSize;
if ((thread = (pthread_t) calloc (1, sizeof (*thread))) ==