summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/pthread_create.c
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-09-21 14:19:00 -0700
committerAustin Foxley <austinf@cetoncorp.com>2009-09-21 14:19:00 -0700
commitecd7069ac6e33a4734f3c4e6d54cf8a6a374d678 (patch)
tree355c5cff89518c3eed03d7c5a4e3e313ae7d0c78 /libpthread/nptl/pthread_create.c
parent3e3f77cdfc8259861515236857ce023f1fbec580 (diff)
downloaduClibc-alpine-ecd7069ac6e33a4734f3c4e6d54cf8a6a374d678.tar.bz2
uClibc-alpine-ecd7069ac6e33a4734f3c4e6d54cf8a6a374d678.tar.xz
warning fixes
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/nptl/pthread_create.c')
-rw-r--r--libpthread/nptl/pthread_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/nptl/pthread_create.c b/libpthread/nptl/pthread_create.c
index 0b37b3655..81da5b93a 100644
--- a/libpthread/nptl/pthread_create.c
+++ b/libpthread/nptl/pthread_create.c
@@ -349,7 +349,7 @@ __pthread_create_2_1 (newthread, attr, start_routine, arg)
accessing far-away memory. */
iattr = &default_attr;
- struct pthread *pd;
+ struct pthread *pd = 0;
int err = ALLOCATE_STACK (iattr, &pd);
if (__builtin_expect (err != 0, 0))
/* Something went wrong. Maybe a parameter of the attributes is